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!