Wednesday, November 13, 2002 03:43 PM
You need a connector to link Apache to Tomcat. There are several: mod_jk2 for Apache2 or mod_jk for Apache, and mod_webapp.
mod_webapp is pretty simple, but is missing some of the capabilities of the jk modules. The source for them is available in the same place you got tomcat from, you are looking for "jakarta-tomcat-connectors...".
Tomcat comes with listeners for both those connectors, so you don't have to worry about compiling that part, you only have to compile an Apache module, and then set both Apache and Tomcat up to use it.
After you get the connector working, you have to tell Apache what URLs it needs to forward to Tomcat. Finally, turn off tomcat's HTTP listeners.
I hope that gets you pointed in the right direction.