tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robert B. Easter" <>
Subject Re: new user : modules and
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 (is this one better than
> and  ?
> 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.

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 file to $APACHE_HOME/libexec
You'll have to read the tomcat docs to setup httpd.conf to load the 
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/ )
AddModule mod_jk.c
<IfModule mod_jk.c>
... rest of file

-------- Robert B. Easter ---------
- CompTechNews Message Board -
- CompTechServ Tech Services -
---------- ------------

View raw message