All pastes #341890 Raw Edit

Stuff

public text v1 · immutable
·published 2007-02-05 22:43 UTC
rendered paste body
//workers.properties

  # Define 1 real worker using ajp13
  worker.list=worker1
  # Set properties for worker1 (ajp13)
  worker.worker1.type=ajp13
  worker.worker1.host=localhost
  worker.worker1.port=8009
  worker.worker1.lbfactor=50
  worker.worker1.cachesize=10
  worker.worker1.cache_timeout=600
  worker.worker1.socket_keepalive=1
  worker.worker1.reclycle_timeout=300

//mod_jk.conf

  # 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 /usr/local/apache/conf/workers.properties
  # 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 log format
  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  /ifx/* worker1
JkMount  /ifx/*.jsp worker1

  JkMount /jsp-examples/* worker1