Difference between revisions of "Using Tomcat with Apache"
From MyWiki
(2 intermediate revisions by the same user not shown) | |||
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 resulting 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> | ||
* 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> |
Latest 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 resulting 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.