rendered paste body# Define 1 real worker using ajp13
worker.list=tomcat1, jkstatus
# Set properties for tomcat1 (ajp13)
worker.tomcat1.type=ajp13
worker.tomcat1.host=localhost
worker.tomcat1.port=8009
worker.tomcat1.lbfactor=50
worker.tomcat1.cachesize=20
worker.tomcat1.cache_timeout=600
worker.tomcat1.socket_keepalive=1
worker.tomcat1.recycle_timeout=300
# Define the properties for the jkstatus
worker.jkstatus.type=status
------------------
# Load mod_jk module
# Update this path to match your modules location
LoadModule jk_module modules/mod_jk.so
JkWorkersFile /etc/httpd/conf/workers.properties
JkLogFile /var/log/httpd/mod_jk.log
JkLogLevel debug
JkLogStampFormat "[%a %b %d %H:%M:%S %Y] "
# JkOptions indicate to send SSL KEY SIZE,
JkOptions +ForwardKeySize +ForwardURICompat -ForwardDirectories
# JkRequestLogFormat set the request format
JkRequestLogFormat "%w %V %T"
# Send everything for context /examples to worker named worker1 (ajp13)
#JkMount /examples/* worker1
# Add the jkstatus mount point
JkMount /jkmanager/* jkstatus
<Location "/jkmanager" >
AllowOverride None
deny from all
allow from localhost
</Location>
JkMount /* tomcat1