The setup I am trying to put together consists on a server connected to the internet (a redhat box) and 2 Apache Tomcat boxes not connected to the internet.
Let's call the server Server and the two Apache Tomcats, Apache1 and Apache2.
So, assuming my external IP is 184.108.40.206, Apache1 is 10.1.1.1 and Apache2 is 10.1.1.2, what I'm trying to configure is a reverse proxy so that if the request goes into http://220.127.116.11/mywebserver1/ it will be directed to Apache1 and if the request goes into http://18.104.22.168/mywebserver2/ it will be forwarded to Apache2.
Now, I don't need a cache on the proxy since there is application sitting in those tomcats and each request needs to get a fresh answer.
I searched for a while and I tried building this with Squid but i can't get it to work the way I need it.
Anyone knows how to do this? What software do I need? How do I configure the reverse proxy?
EDIT: Maybe I am better using mod_jk or mod_proxy to do this? I mean, can I have Apache install in Server and redirect the requests to Apache1 and Apache2 (Tomcat)?