[squid-users] Use parent proxy for some domains only

From: S.R. <sergeroz_at_gmail.com>
Date: Sun, 25 Dec 2011 21:20:39 +1100

I am trying to set up squid in proxy-only (no caching) mode, with
direct access except for specified domains. For specified domains I
want squid to forward the request to another proxy server. This second
part is not working! Here are the relevant config lines:

  cache_peer secondproxy.com parent 3128 0 proxy-only no-query
  cache_peer_domain secondproxy.com specialdomain1.com specialdomain2.com
  cache deny all
  prefer_direct on
  always_direct allow all

The proxy always ignores the cache_peer directive. I have Squid
2.6.STABLE21 on CentOS linux 2.6.18 kernel. Please help!
Received on Sun Dec 25 2011 - 10:20:50 MST

This archive was generated by hypermail 2.2.0 : Sun Dec 25 2011 - 12:00:03 MST