您的位置:首页 > 运维架构 > Tomcat

tomcat 5.5 整合 apache 2

2006-07-14 10:51 375 查看
1. Jakarta Tomcat Connector http://tomcat.apache.org/connectors-doc/howto/apache.html
2. Workers http://tomcat.apache.org/connectors-doc/howto/workers.html
3. Example

workers.properties 使用默认文件即可(在源码 jk/conf 目录下)

apache httpd.conf
-----------------------------
<Location "/examples/WEB-INF/">
AllowOverride None
deny from all
</Location>

# Load mod_jk module
LoadModule jk_module modules/mod_jk.so
# Where to find workers.properties
JkWorkersFile "C:/Program Files/Apache Group/Apache2/conf/workers.properties"
# Where to put jk logs
JkLogFile "C:/Program Files/Apache Group/Apache2/logs/mod_jk.log"
# Set the jk log level [debug/error/info]
JkLogLevel info
# Send servlet for context /examples to worker named ajp13
JkMount /examples/servlet/* ajp13
# Send JSPs for context /examples to worker named ajp13
JkMount /examples/*.jsp ajp13
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: