Configuring squid as reverse proxy

Posted by Hassan on Server Fault See other posts from Server Fault or by Hassan
Published on 2012-10-17T19:31:21Z Indexed on 2012/10/17 23:04 UTC
Read the original article Hit count: 279

Filed under:
|

I am having trouble configuring squid to work as reverse proxy

here is my scenario

squid is installed on server with ip 10.1.1.139 I have another computer that is acting as my proxy server

10.1.85.106 which has access to 10.1.85.106/program

I want 10.1.1.139/program to be redirected to 10.1.85.106

I have added cache_peer 10.1.85.106 parent 80 0 no-query originserver name=server_1 cache_peer_domain server_1 /program /program/ program

when I go to 10.1.1.139/program I get

"The following error was encountered while trying to retrieve the URL: /program

Invalid URL"

Since the error is not related to access denied I don't think it is due to access restrictions.

Do I need to add anything else?

Thanks for your time

© Server Fault or respective owner

Related posts about reverse-proxy

Related posts about squid