Difference between revisions of "Load the module and configure virtual directories"
From MyWiki
(Created page with "<source lang="text"> </source>") |
|||
(2 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<source lang="text"> | <source lang="text"> | ||
+ | |||
+ | LoadModule jk_module modules/mod_jk.so | ||
+ | |||
+ | |||
+ | |||
+ | # Update this path to match your conf directory location (put workers.properties next to httpd.conf) | ||
+ | JkWorkersFile /etc/httpd/conf/workers.properties | ||
+ | # Where to put jk shared memory | ||
+ | # Update this path to match your local state directory or logs directory | ||
+ | JkShmFile /var/log/httpd/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 /var/log/httpd/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 | ||
+ | #JkMount /userregister/* worker1 | ||
+ | #JkMount /cas/* worker1 | ||
+ | JkMount /* worker1 | ||
+ | |||
+ | |||
</source> | </source> |
Latest revision as of 12:49, 14 July 2015
LoadModule jk_module modules/mod_jk.so # Update this path to match your conf directory location (put workers.properties next to httpd.conf) JkWorkersFile /etc/httpd/conf/workers.properties # Where to put jk shared memory # Update this path to match your local state directory or logs directory JkShmFile /var/log/httpd/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 /var/log/httpd/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 #JkMount /userregister/* worker1 #JkMount /cas/* worker1 JkMount /* worker1