Java Mailing List Archive

http://www.apache-httpd.com/

Home » users.httpd »

[users@httpd] using Apache as a front end

James Godrej

2010-07-15


Author LoginPost Reply
I am looking for an example to use Apache as a front end to two tomcat servers running on different ports on same machine.
ProxyPass /site1 http://site1.local.com:8080/
ProxyPassReverse /site1 http://site1.local.com:8080/

as in Apache there is Document Root to serve webpages 
I found Tomcat uses webapps folder and I need to put in my application there.
Which I have done.
But how do I configure a ReverseProxy so that some one can reach from internet.
I tried looking the ProxyPass documentation but I am not clear with how does it rewrites headers or requests.

©2008 apache-httpd.com - Jax Systems, LLC, U.S.A.