Configure mod_jk

Posted by Jagadeesh VP | Posted in ,

Apache:

Place mod_jk.so file in <apache_home>/modules dir.
Instruct apache to load the file vis httpd.conf

LoadModule jk_module modules/mod_jk.so

Locate the file path of mod_jk.conf to apache via httpd.conf file

Include [file path]

change the <directory> tag entries
Host entry in extra/vhost.conf


Tomcat:

Place the following in server.xml

<listener className = "org.apache,jk.config.ApacheConfig"
modJk= "[mod_jk.so file location]"
workersConfig = "[workers.properties file location]"
jkLog = "[user defined location]"
jkDebug = "info" />


Add the following under <host> tag
<listener className = "org.apache.jk.config.ApacheConfig"
append="true" jkWorker="ajp13 [any name as in worker.properties]" />

Comments (0)

Post a Comment