"Jeremy Staines" <[EMAIL PROTECTED]> writes:

> Thanks for all those that relpied to this thread but I think that I've
> just answered my own question.
> 
> 
> I was putting the following in httpd.conf
> 
> LoadModule    jk_module  libexec/mod_jk.so
> AddModule     mod_jk.c
> 
> I wrote my own mod_jk.conf-local file and included the Load and Add
> Module directives in that, instead of the httpd.conf file. Then things
> seemed to work OK.
> 
> I'm not sure why this happened, it even says to put the load and add
> module directives in the httpd.conf file in the
> documentation. Hmmmmmmn!

You have two ways:
- simple. Tomcat can generate the needed Apache configuration. You
need just include <ApacheConfig /> in Tomcat's server.xml and include
this generated config to httpd.conf like "Include
TOMCAT_HOME/conf/jk/mod_jk.conf-auto".
- advanced. You have manualy include all needed staff in httpd.conf
like this:

LoadModule    jk_module  libexec/mod_jk.so
AddModule     mod_jk.c
JkWorkersFile /usr/local/jakarta-tomcat/conf/jk/workers.properties
JkLogFile     /usr/local/apache/logs/mod_jk.log
JkLogLevel    warn
JkMount /*.jsp ajp13
JkMount /servlet/* ajp13
JkMount /otherworker/*.jsp remoteworker

-- 
ICQ #83060237
MAN-UANIC NIK6-RIPE

Reply via email to