tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jan Vávra <>
Subject Re: configuring tomcat7 with apache 2.2.22
Date Fri, 15 Mar 2013 11:43:21 GMT
  I take care about an app that is a combination of Apache Server+php 
Drupal app and Apache Tomcat jsp app.
  Apache Server listens on the ports 80/443 and requests are reverse 
proxied to Apache Tomcat.

  Let's say that the tomcat app resides on/testca
  The apache server config will be

   ProxyRequests Off
   ProxyPass /testca ajp://
   ProxyPassReverse /testca ajp://

         <Proxy /testca/WEB-INF>
         Order Deny,Allow
         Deny from All

         <Proxy /testca>
         Order Deny,Allow
         Allow from All

and check if ajp module is loaded:
LoadModule proxy_ajp_module modules/

In the Apache Tomcat's server.xml  change ajp port to 9081
  <Connector port="9081" protocol="AJP/1.3" redirectPort="8443" />

On WinXP there should be no problem. I personally develop on Win 7, 
production is Linux.


> Although not a newbie to building websites in html and php, and physical computing in
C/C++, I'm having a dickens of a
> time understanding the documentation of Integrating Tomcat 7 with my existing Apache
2.2.22 on WinXP (company
> supplied development pc, nothing I can do about that). Can I get a bit of handholding
> I'm trying to evaluate a java servlet that requires tomcat.
> Steve Spence, KK4HFJ
> ---------------------------------------------------------------------
> To unsubscribe, e-mail:
> For additional commands, e-mail:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message