You are viewing a plain text version of this content. The canonical link for it is here.
Posted to rivet-dev@tcl.apache.org by Gavin McLeod <Ga...@ioko.com> on 2005/10/27 18:52:08 UTC

help- having problems with apache and rivet50 under windows

Hi
 
I'm completely new to rivet, done some tcl years ago, and played with
apache on and off.
having problems getting it running under XP (sp2)
 
I have Installed Apache 1.3.33 using the windows msi installer
I have ActiveTCL 8.4.11, and have installed Rivet 0.50 using the windows
binary.
 
It has modified my httpd.conf like so;
 
LoadModule rivet_module modules/mod_rivet.so
 
<IfModule mod_rivet.c>
    RivetServerConf CacheSize 50
    AddType application/x-httpd-rivet .rvt
    AddType application/x-rivet-tcl .tcl
 
    Alias /rivet/ "C:\opt\Tcl\lib/rivet0.5.0/tests/"
    <Directory "C:\opt\Tcl\lib/rivet0.5.0/tests/">
        Options Indexes FollowSymlinks MultiViews
        AllowOverride None
        Order allow,deny
        Allow from all
    </Directory>
</IfModule>
 
when I start apache I get
Apache/1.3.33 (Win32) Rivet running...
 
and using the example hello.rvt
<?
puts "Hello World" 
?>
 
but I get the following error in the browser:
 
 
Rivet ErrorScript failed! 
________________________________


can not find channel named "stdout"
    while executing
"puts <PRE>"
    (procedure "::Rivet::handle_error" line 5)
    invoked from within
"::Rivet::handle_error"
 
I have modified my environment based on a thread I saw on the dev
mailing list, so the path to tcl\bin is in the system env
instead of the user env, but to no avail;
 
so I hope you can help - it looks a neat package, and I desperately want
to try it!
 
thanks
Gavin
 


Communications on or through ioko's computer systems may be monitored or recorded to secure effective system operation and for other lawful purposes.

Unless otherwise agreed expressly in writing, this communication is to be treated as confidential and the information in it may not be used or disclosed except for the purpose for which it has been sent. If you have reason to believe that you are not the intended recipient of this communication, please contact the sender immediately. No employee is authorised to conclude any binding agreement on behalf of ioko with another party by e-mail without prior express written confirmation.

ioko365 Ltd.  VAT reg 656 2443 31. Reg no 3048367. All rights reserved.

Re: help- having problems with apache and rivet50 under windows

Posted by Gavin McLeod <ga...@gmail.com>.
error log file has nothing (apache error.log). does rivet log
separately anywhere?

Gavin

On 10/28/05, David N. Welton <da...@dedasys.com> wrote:
> Gavin McLeod wrote:
>
> > I have Installed Apache 1.3.33 using the windows msi installer
> > I have ActiveTCL 8.4.11, and have installed Rivet 0.50 using the windows
> > binary.
> >
> > It has modified my httpd.conf like so;
> >
> > LoadModule rivet_module modules/mod_rivet.so
>
> > <IfModule mod_rivet.c>
> >     RivetServerConf CacheSize 50
> >     AddType application/x-httpd-rivet .rvt
> >     AddType application/x-rivet-tcl .tcl
> >
> >     Alias /rivet/ "C:\opt\Tcl\lib/rivet0.5.0/tests/"
>
> This line above seems like something that could go...
>
> >     <Directory "C:\opt\Tcl\lib/rivet0.5.0/tests/">
> >         Options Indexes FollowSymlinks MultiViews
> >         AllowOverride None
> >         Order allow,deny
> >         Allow from all
> >     </Directory>
> > </IfModule>
> >
> > when I start apache I get
> > Apache/1.3.33 (Win32) Rivet running...
> >
> > and using the example hello.rvt
> > <?
> > puts "Hello World"
> > ?>
> >
> > but I get the following error in the browser:
> >
> >
> > Rivet ErrorScript failed!
> > ________________________________
> >
> >
> > can not find channel named "stdout"
> >     while executing
> > "puts <PRE>"
> >     (procedure "::Rivet::handle_error" line 5)
> >     invoked from within
> > "::Rivet::handle_error"
>
> That's odd... something's not being set up correctly by Rivet, I
> guess:-/  Is there anything else in the error.log file?
>
> Pat, any ideas as to what might be happening?  A stdout should
> definitely be defined!
>
> --
> David N. Welton
> - http://www.dedasys.com/davidw/
>
> Linux, Open Source Consulting
> - http://www.dedasys.com/
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: rivet-dev-unsubscribe@tcl.apache.org
For additional commands, e-mail: rivet-dev-help@tcl.apache.org


Re: help- having problems with apache and rivet50 under windows

Posted by "David N. Welton" <da...@dedasys.com>.
Gavin McLeod wrote:

> I have Installed Apache 1.3.33 using the windows msi installer
> I have ActiveTCL 8.4.11, and have installed Rivet 0.50 using the windows
> binary.
>  
> It has modified my httpd.conf like so;
>  
> LoadModule rivet_module modules/mod_rivet.so

> <IfModule mod_rivet.c>
>     RivetServerConf CacheSize 50
>     AddType application/x-httpd-rivet .rvt
>     AddType application/x-rivet-tcl .tcl
>  
>     Alias /rivet/ "C:\opt\Tcl\lib/rivet0.5.0/tests/"

This line above seems like something that could go...

>     <Directory "C:\opt\Tcl\lib/rivet0.5.0/tests/">
>         Options Indexes FollowSymlinks MultiViews
>         AllowOverride None
>         Order allow,deny
>         Allow from all
>     </Directory>
> </IfModule>
>  
> when I start apache I get
> Apache/1.3.33 (Win32) Rivet running...
>  
> and using the example hello.rvt
> <?
> puts "Hello World" 
> ?>
>  
> but I get the following error in the browser:
>  
>  
> Rivet ErrorScript failed! 
> ________________________________
> 
> 
> can not find channel named "stdout"
>     while executing
> "puts <PRE>"
>     (procedure "::Rivet::handle_error" line 5)
>     invoked from within
> "::Rivet::handle_error"

That's odd... something's not being set up correctly by Rivet, I
guess:-/  Is there anything else in the error.log file?

Pat, any ideas as to what might be happening?  A stdout should
definitely be defined!

-- 
David N. Welton
- http://www.dedasys.com/davidw/

Linux, Open Source Consulting
- http://www.dedasys.com/


---------------------------------------------------------------------
To unsubscribe, e-mail: rivet-dev-unsubscribe@tcl.apache.org
For additional commands, e-mail: rivet-dev-help@tcl.apache.org