Search squid archive

the duplicated setting for the same dstdomain

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.

[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux