Configuring Apache reverse proxy

Posted by Martin on Server Fault See other posts from Server Fault or by Martin
Published on 2012-09-22T14:15:35Z Indexed on 2012/09/22 15:39 UTC
Read the original article Hit count: 355

Filed under:
|
|

I have loadbalancer server and edges. I am trying to configure reverse proxy in order to hide the backend servers PL1,2,3. PL 1,2,3 are not located in same subnet. They are located in different locations.

       PL1
Lb1 -> PL2
       PL3

I tried to configure Apache reverse proxy but it is not sending request to PL1,2,3. Reverse proxy worked only when I configured apache to send request to local server on other port.

ProxyRequests Off
<Proxy *>
    Order deny,allow
    Allow from all
</Proxy>

ProxyPass /PL1 http://PL1server.com/
ProxyPassReverse /PL1 http://PL1server.com/

The above configuration did not worked. Could you help me to solve the issue. Or is there other proxy types like Squid,Socks5 to solve this issue.

Does the reverse proxy fails if we use IP address or domain URL in ProxyPass and ProxyPassReverse ?

© Server Fault or respective owner

Related posts about apache2

Related posts about proxy