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.