J. Peng wrote:
Hello,
My squid hosts have an original server. When the original server get
down, it will use other siblings for sources.
this is my config section, is it right? please help,thanks.
nonhierarchical_direct off
prefer_direct on
cache_peer 192.168.1.1 parent 80 0 no-query originserver name=WWW
cache_peer 192.168.1.2 sibling 80 0 no-query name=WWW
cache_peer 192.168.1.3 sibling 80 0 no-query name=WWW
acl service_www dstdomain www.site.com blog.site.com forum.site.com
cache_peer_access WWW allow service_www
name= MUST be unique for each peer.
With matching cache_peer_access for each name=
Otherwise this is correct.
Amos
--
Please use Squid 2.6STABLE17+ or 3.0STABLE1+
There are serious security advisories out on all earlier releases.