Redhat with a reverse proxy, a specific configuration
Posted
by jessica
on Server Fault
See other posts from Server Fault
or by jessica
Published on 2010-05-25T13:28:06Z
Indexed on
2010/05/25
13:32 UTC
Read the original article
Hit count: 494
redhat
|reverse-proxy
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 102.1.1.1, 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://102.1.1.1/mywebserver1/ it will be directed to Apache1 and if the request goes into http://102.1.1.1/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?
Thanks!
jessica
© Server Fault or respective owner