# Load mod_jk module # Specify the filename of the mod_jk lib LoadModule jk_module modules/mod_jk.so # Where to find workers.properties JkWorkersFile conf/workers.properties # Where to put jk logs JkLogFile logs/mod_jk.log # Set the jk log level [debug/error/info] JkLogLevel info # Select the log format JkLogStampFormat "[%a %b %d %H:%M:%S %Y]" # JkOptions indicates to send SSK KEY SIZE JkOptions +ForwardKeySize +ForwardURICompat -ForwardDirectories # JkRequestLogFormat JkRequestLogFormat "%w %V %T" # Mount your applications JkMount /app/ent loadbalancer JkMount /app/ent/* loadbalancer JkMount /app/adm loadbalancer JkMount /app/adm/* loadbalancer JkMount /app/wrk loadbalancer JkMount /app/wrk/* loadbalancer JkMount /app/sql loadbalancer JkMount /app/sql/* loadbalancer JkMount /app/run loadbalancer JkMount /app/run/* loadbalancer JkMount /app/fml loadbalancer JkMount /app/fml/* loadbalancer JkMount /app/reg loadbalancer JkMount /app/reg/* loadbalancer # You can use external file for mount points. # It will be checked for updates each 60 seconds. # The format of the file is: /url=worker # /examples/*=loadbalancer # JkMountFile conf/uriworkermap.properties # Add shared memory. # This directive is present with 1.2.10 and # later versions of mod_jk, and is needed for # for load balancing to work properly JkShmFile logs/jk.shm # Add jkstatus for managing runtime data JkMount status Order deny,allow Deny from all Allow from 127.0.0.1