Yang Xiao wrote:
Hi, In httpd.conf:
LoadModule jk_module modules/mod_jk.so JkWorkersFile /usr/local/tomcat/conf/jk/workers.properties JkLogFile /usr/local/tomcat/logs/mod_jk.log JkLogLevel info JkOptions +ForwardKeySize +ForwardURICompat -ForwardDirectories JkRequestLogFormat "%w %V %T" JkMount /jsp-examples/* router
In server.xml Add this under <Server ... <Listener className="org.apache.jk.config.ApacheConfig" modJk="/usr/local/apache/modules/mod_jk.so" />
and this under <Host..
<Listener className="org.apache.jk.config.ApacheConfig" append="true" forwardAll="false" modJk="/usr/local/apache/modules/mod_jk.so" workersConfig="/usr/local/tomcat/conf/workers.properties" />
That's all there is to it.
Yang
-----Original Message-----
From: Emerson Cargnin [mailto:[EMAIL PROTECTED] Sent: Thursday, April 15, 2004 12:35 PM
To: Tomcat Users List
Subject: auto generation of mod_jk.conf in tomcat 5
When we used tomcat 3.2.3, I configured it to autogenerate the mod_jk.conf to be read by apache/mod_jk. In tomcat 5 I still can use it??? I like it becouse each time a app is deployed I just have to make apache re-read it's conf file to get the new map to work.
how do I configure tomcat 5 to auto-generate it???
-- Emerson Cargnin Analista de Sistemas Setor de Desenvolvimento de Sistemas - TRE-SC tel : (048) - 251-3700 - Ramal 3181
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]