tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject Re: Apache 2.2.3 Tomcat 5.5.20 - mod_jk or proxy?
Date Wed, 15 Nov 2006 20:50:09 GMT
On Wed, Nov 15, 2006 at 12:22:02AM +0100, Lars Nielsen Lind wrote:

> Which connector is the most relevant to use with Apache 2.2.3 and Tomcat 
> 5.5.20? Is it mod_jk or is it proxy?
> And how do I use the most relevant with Apache 2.2.3 and Tomcat 5.5.20? 
> (compile and implementation samples wanted if possible).

Everything I have read says that mod_jk will not work with 2.2.  What
little information is available says use the proxy modules.

You should specify these modules to be built during the building of
Apache and then load them:

LoadModule proxy_module modules/
LoadModule proxy_ajp_module modules/

Then, there are about a zillion ways to proxy and next to NO
documentation on actually using them.  I found this simple approach
works, as long as you are asking nothing more than shooting every
request through to Tomcat:

<Location / >
   ProxyPass ajp://localhost:8009/



Michael Powe		Naugatuck CT USA
It goes against the grain of modern education to teach children to
program. What fun is there in making plans, acquiring discipline in
organizing thoughts, devoting attention to detail and learning to be
self-critical?  --Alan Perlis, Epigrams in Programming

View raw message