tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Warren Pace <wap...@bellsouth.net>
Subject Re: Connecting Apache2.2 with Tomcat 5 using mod_proxy_ajp
Date Thu, 01 Jan 1970 00:00:00 GMT


> **************************** PROXY_AJP_.CONF ***************************
> 
> ProxyPass /contact/*.jsp ajp://localhost:8080/contact/
> ProxyPassReverse /contact/*.jsp ajp://localhost:8080/contact/

Use port 8009 (the ajp connector uses 8009) instead of 8080
Add a line in your HTTPD.conf to include your PROXY_AJP_CONF file as below:
Include /etc/apache2/extra/PROXY_AJP_CONF (whatever you've named your file).
Use the Location directive inside your proxy_ajp_conf file
<Location /contact/>
    ProxyPass ajp://localhost:8009/contact/
</Location>

> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
> 
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message