Mario Almeida wrote:
Hi All,
Below is the setting I have done to test a reverse proxy
http_port 3128 accel defaultsite=xyz.example.com vhost
cache_peer 172.27.1.10 parent 8080 0 no-query originserver name=server1
acl server1_acl dstdomain www.xyz.example.com xyz.example.com
cache_peer_access server1 allow server1_acl
cache_peer_access server1 deny all
But could not get it done
Bellow is the error message what I get
ERROR
The requested URL could not be retrieved
While trying to retrieve the URL: http:// xyz.example.com /
The following error was encountered:
* Unable to forward this request at this time.
This request could not be forwarded to the origin server or to any parent
caches. The most likely cause for this error is that:
* The cache administrator does not allow this cache to make direct
connections to origin servers, and
This seems unlikely given the cache_peer_access line, so...
* All configured parent caches are currently unreachable.
This is far more likely the issue at hand. Check your cache.log for any
clues. Verify you have the right IP and port for your parent server,
and that there are no firewall rules preventing access. Try using wget
or Lynx on your Squid server to grab a page off the origin server.
Your cache administrator is root.
Regards,
Remy
Chris