[squid-users] the duplicated setting for the same dstdomain

From: Jeff Peng <jeffpeng_at_gmx.net>
Date: Fri, 19 Sep 2008 10:39:10 +0800

Hi,

I set up two groups of rules for the same accelerated domain name, but
the selection arithmetic and original servers are different.
Why squid doesn't complain about this setting? Which rule will squid
choose when accept that a request? Thanks.

The rules are below:

cache_peer 192.168.1.1 parent 80 0 no-query originserver name=a round-robin
cache_peer 192.168.1.2 parent 8080 0 no-query originserver name=b
round-robin
acl service_a dstdomain mysite.com
cache_peer_access a allow service_a
cache_peer_access b allow service_a

cache_peer 192.168.1.3 parent 80 0 no-query originserver name=c sourcehash
cache_peer 192.168.1.4 parent 8080 0 no-query originserver name=d
sourcehash
acl service_b dstdomain mysite.com
cache_peer_access c allow service_b
cache_peer_access d allow service_b

Regards,
Jeff.
Received on Fri Sep 19 2008 - 02:39:48 MDT

This archive was generated by hypermail 2.2.0 : Fri Sep 19 2008 - 12:00:02 MDT