You are viewing a plain text version of this content. The canonical link for it is here.
Posted to rivet-user@tcl.apache.org by Matthias Luettgert <ma...@risa.de> on 2003/10/09 00:17:12 UTC

Strange starting message when loading mod_rivet.so

Hello,

I just tried to set up rivet under SuSE Linux 8.2
with tcl 8.4 (info patchlevel: 8.4.2)
After installing Apache Headers, rivet simply compiled.
(./make.tcl shared) .
When starting Apache, I receive the following message:
Starting httpd [ ][Thu Oct  9 02:06:37 2003] [warn] Loaded DSO
/usr/lib/apache/mod_rivet.so uses plain Apache 1.3 API,
 this module might crash under EAPI!
(please recompile it with -DEAPI)

How do I do that?
My attempts on configure.in.tcl have been all useless. My -DEAPI
was thrown out everytime.

The Apache is
Server version: Apache/1.3.27 (Linux/SuSE)
Server built:   Mar 14 2003 02:26:04

Anyway, my first attempt with hello.rvt (in htdocs directory) lead
to the poor result:
The file "hello.rvt" is of type application/x-httpd-rivet, and
Netscape does not know how to handle this file type...

Do I need a plugin?

How do I use Tcl on the server side? My <? puts "any tcl" ?>
fragments seem to be simply ignored.

Is this all a result of omitting -DEAPI on compiling rivet?

Help apreciated.


Matthias L�ttgert


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


Re: Strange starting message when loading mod_rivet.so

Posted by "David N. Welton" <da...@dedasys.com>.
Matthias Luettgert <ma...@risa.de> writes:

> I just tried to set up rivet under SuSE Linux 8.2
> with tcl 8.4 (info patchlevel: 8.4.2)
> After installing Apache Headers, rivet simply compiled.
> (./make.tcl shared) .
> When starting Apache, I receive the following message:
> Starting httpd [ ][Thu Oct  9 02:06:37 2003] [warn] Loaded DSO
> /usr/lib/apache/mod_rivet.so uses plain Apache 1.3 API,
>  this module might crash under EAPI!
> (please recompile it with -DEAPI)

This is not a problem.

> Anyway, my first attempt with hello.rvt (in htdocs directory) lead
> to the poor result:
> The file "hello.rvt" is of type application/x-httpd-rivet, and
> Netscape does not know how to handle this file type...

Did you set up the correct directives (AddType)?

> Do I need a plugin?

Most definitely not!  Rivet will spit out whatever mime type you want,
but does HTML by default.

> How do I use Tcl on the server side? My <? puts "any tcl" ?>
> fragments seem to be simply ignored.

Because you don't have the mime type set up, but your code above is
correct.

> Is this all a result of omitting -DEAPI on compiling rivet?

Nope.  That -DEAPI thing can really just be ignored.  I'll see if I
can find a way to pick it up for the compile in future versions just
so that Apache doesn't make noise!

-- 
David N. Welton
   Consulting: http://www.dedasys.com/
     Personal: http://www.dedasys.com/davidw/
Free Software: http://www.dedasys.com/freesoftware/
   Apache Tcl: http://tcl.apache.org/

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