Tomcat mod_jk配置问题
这个配置有点混乱 我已经加载了mod_jk并提供了以下配置Tomcat mod_jk配置问题,tomcat,apache2,httpd.conf,mod-proxy,mod-jk,Tomcat,Apache2,Httpd.conf,Mod Proxy,Mod Jk,这个配置有点混乱 我已经加载了mod_jk并提供了以下配置 <IfModule mod_jk.c> JKWorkersFile conf/workers.properties JkLogFile "/opt/test/logs/mod_jk.log.%m.%d.%Y" JkLogLevel info JkRequestLogFormat "%w %V %U %s %r %p %T" JkWatchdogInterval 60 JkMount /example
<IfModule mod_jk.c>
JKWorkersFile conf/workers.properties
JkLogFile "/opt/test/logs/mod_jk.log.%m.%d.%Y"
JkLogLevel info
JkRequestLogFormat "%w %V %U %s %r %p %T"
JkWatchdogInterval 60
JkMount /example/* tomcat1
</IfModule>
然后我需要这样的东西,我不能使用mod_proxy_ajp
所有来自tomcat web context/example2/*的请求都要转到tomcat web context/example1/*,如何实现
谢谢你的帮助
worker.tomcat1.port=8009
worker.tomcat1.host=localhost
worker.tomcat1.type=ajp13
worker.tomcat1.lbfactor=1
worker.tomcat1.retries=3
worker.tomcat1.connect_timeout=10000
worker.tomcat1.prepost_timeout=10000
worker.tomcat1.socket_keepalive=true
worker.tomcat1.socket_timeout=10
worker.tomcat1.connection_pool_timeout=600