Load the module and configure virtual directories

From MyWiki
Revision as of 12:48, 14 July 2015 by George2 (Talk | contribs)

Jump to: navigation, search
LoadModule jk_module  modules/mod_jk.so
 
 
# Load mod_jk module
  # Update this path to match your modules location
#  LoadModule    jk_module  libexec/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 /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