tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robert B. Easter" <reas...@comptechnews.com>
Subject Re: new user : modules mod_jk.so and mod_rewrite.so
Date Tue, 05 Dec 2000 12:56:45 GMT
On Tuesday 05 December 2000 04:18, christophe grosjean wrote:
> Hi,
>
> How can I get modules such as mod_jk.so (is this one better than
> mod_jserv.so?)
> and mod_rewrite.so.  ?
>
> Christophe

For mod_rewrite:

cd into the "src" directory of apache.
Edit the file "Configuration" and uncomment the line for mod_rewrite.
Run ./configure with --enable-module=rewrite
This builds mod_rewrite into apache.

http://www.engelschall.com/pw/apache/rewriteguide/


For mod_jk, this comes with the tomcat source:

cd src/native/apache1.3
cp Makefile.linux Makefile
Edit Makefile and make sure the apxs path is right and whatever else.
Then, run "make"
Copy the mod_jk.so file to $APACHE_HOME/libexec
You'll have to read the tomcat docs to setup httpd.conf to load the mod_jk.so 
and other stuff that is in $TOMCAT_HOME/conf/mod_jk.conf.  It says that you 
just: Include $TOMCAT_HOME/conf/mod_jk.conf into httpd.conf, but you'll want 
to edit mod_jk.conf and add:

(after LoadModule jk_module libexec/mod_jk.so )
AddModule mod_jk.c
<IfModule mod_jk.c>
... rest of file
</IfModule>


-- 
-------- Robert B. Easter  reaster@comptechnews.com ---------
- CompTechNews Message Board   http://www.comptechnews.com/ -
- CompTechServ Tech Services   http://www.comptechserv.com/ -
---------- http://www.comptechnews.com/~reaster/ ------------

Mime
View raw message