Jk Mount Sample

by mhardik

HTML

<p>Listen 80</p>
<p>ServerName myhost.com</p>

LoadModule jk_module modules/mod_jk.so				
# Loads the Jakarta Tomcat Connector module

#JkWorkersFile <httpd_home>\conf\workers.properties
JkWorkersFile C:\Apache24\conf\workers.properties
# Tells the module the location of the workers.properties file

JkLogFile  C:\Apache24\logs\mod_jk.log
# Specifies the location for this module's specific log file

JkLogLevel info
# Sets the module's log level to info

JkLogStampFormat "[%a %b %d %H:%M:%S %Y] "
# Sets the module's log time stamp format

JkMount /myApp/* worker1
# Sets a mount point from a context to a Tomcat worker. In this case will allow access (forward the request) to the console.