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