Created
September 25, 2013 09:49
-
-
Save tfoldi/6697435 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# put this file to the apache\conf directory | |
# Load mod_jk module | |
# Update this path to match your modules location | |
LoadModule jk_module modules/mod_jk.so | |
# Declare the module for <IfModule directive> (remove this line on Apache 2.x) | |
#AddModule mod_jk.c | |
# Where to find workers.properties | |
# Update this path to match your conf directory location (put workers.properties next to httpd.conf) | |
JkWorkersFile conf/workers.properties | |
# Where to put jk shared memory | |
# Update this path to match your local state directory or logs directory | |
JkShmFile logs/mod_jk.shm | |
# Where to put jk logs | |
# Update this path to match your logs directory location (put mod_jk.log next to access_log) | |
JkLogFile logs/mod_jk.log | |
# Set the jk log level [debug/error/info] | |
JkLogLevel debug | |
# Select the timestamp log format | |
JkLogStampFormat "[%a %b %d %H:%M:%S %Y] " | |
# Send everything for context /examples to worker named worker1 (ajp13) | |
JkMount /examples/* worker1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# put this file also to the apache\conf | |
# Define 1 real worker using ajp13 | |
worker.list=ajp13 | |
# Set properties for worker1 (ajp13) | |
worker.ajp13.type=ajp13 | |
worker.ajp13.host=localhost | |
worker.ajp13.port=8009 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment