Configuring squid as reverse proxy
- by Hassan
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