Difference between revisions of "Using Tomcat with Apache"
From MyWiki
Line 1: | Line 1: | ||
Rather than using Tomcat standalone Apache can be configured to pass connections to tomcat using mod_jk<br> | Rather than using Tomcat standalone Apache can be configured to pass connections to tomcat using mod_jk<br> | ||
This requires<br> | This requires<br> | ||
+ | * Download the source for the connector and compile it. Copy the mod_jk.so file to the Apache modules directory. | ||
* Configuration of httpd.conf to [[load the module and configure virtual directories]] to pass to tomcat<br> | * Configuration of httpd.conf to [[load the module and configure virtual directories]] to pass to tomcat<br> | ||
* Creation of a file called [[ workers.properties ]] in the /etc/httpd/conf directory.<br> | * Creation of a file called [[ workers.properties ]] in the /etc/httpd/conf directory.<br> |
Revision as of 13:55, 14 July 2015
Rather than using Tomcat standalone Apache can be configured to pass connections to tomcat using mod_jk
This requires
- Download the source for the connector and compile it. Copy the mod_jk.so file to the Apache modules directory.
- Configuration of httpd.conf to load the module and configure virtual directories to pass to tomcat
- Creation of a file called workers.properties in the /etc/httpd/conf directory.