Skip to content

Instantly share code, notes, and snippets.

@Se7soz
Created March 7, 2013 14:28
Show Gist options
  • Save Se7soz/5108401 to your computer and use it in GitHub Desktop.
Save Se7soz/5108401 to your computer and use it in GitHub Desktop.
httpd.conf
JkWorkersFile /usr/local/apache2/conf/workers.properties
# Where to put jk logs
JkLogFile /usr/local/apache2/logs/jk_error
# Set the jk log level [debug/error/info]
JkLogLevel info
# 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 /obji-web/* worker1
JKMount /obji-api/* worker1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment