[squid-users] Squid only forwards GET requests to cache_peer

From: Leigh Wedding <leigh.wedding_at_bigpond.com>
Date: Mon, 9 Jan 2012 15:53:22 +1100

Hi,

I have a problem with squid only forwarding HTTP GET requests to cache_peers. My setup is that the corporate network has no access to the Internet, access is only via corporate wide http proxies. I also have another separate network (NET2, which does not have Internet access), which has only restricted access to the corporate network via a firewall. I am running a squid proxy in NET2 which should connect direct to various corporate WWW resources, and should connect to the corporate proxies for any WWW resources on the Internet. This all works fine for HTTP GET requests. However for HTTP HEAD requests (eg. needed for wget -N), it does not work for WWW resources on the Internet; Squid always tries to handle HEAD requests directly, it does NOT forward them to the defined cache_peers. I have 8 cache_peers defined as follows:

cache_peer 10.97.216.133 parent 8080 0 no-query round-robin
cache_peer 10.97.216.136 parent 8080 0 no-query round-robin
cache_peer 10.97.216.139 parent 8080 0 no-query round-robin
cache_peer 10.97.216.142 parent 8080 0 no-query round-robin
cache_peer 10.97.217.133 parent 8080 0 no-query round-robin
cache_peer 10.97.217.136 parent 8080 0 no-query round-robin
cache_peer 10.97.217.139 parent 8080 0 no-query round-robin
cache_peer 10.97.217.142 parent 8080 0 no-query round-robin

Can anyone shed any light on what might be the problem, and what I can do to fix it?

I am running squid 2.7.STABLE5 on SUSE Linux Enterprise Server 11 (x86_64) PL1.

Thanks,
Leigh.
Received on Mon Jan 09 2012 - 04:53:31 MST

This archive was generated by hypermail 2.2.0 : Mon Jan 09 2012 - 12:00:04 MST