Round-robin and ACL priority ?

From: ¤ý²Ð¦t <starry_wang@dont-contact.us>
Date: Wed, 5 Jan 2000 15:37:30 +0800

Dear Sir:
        We have some squid.conf setting question.
        We have four parent proxy server, and our slibing proxy server have
this setting.
        
.
cache_peer p1.xxx.xxx.tw parent 3128 3130 no-query round-robin
cache_peer p2.xxx.xxx.tw parent 3128 3130 no-query round-robin
cache_peer p3.xxx.xxx.tw parent 3128 3130 no-query
cache_peer p4.xxx.xxx.tw parent 3128 3130 no-query
 
and our ACL list
acl neardomain dstdomain .tw
acl near2nd dstdomain .hinet.net
acl porn url_regex "/usr/local/squid/etc/porn.txt"

cache_peer_access p4.xxx.xxx.w allow porn
cache_peer_access p4.xxx.xxx.tw deny all
cache_peer_access p3.xxx.xxx.tw allow !neardomain
cache_peer_access p3.xxx.xxx.tw allow near2nd
cache_peer_access p3.xxx.xxx.tw deny all

According our setting, all of the porn site requests will go to p4 proxy,
and other country request will go p3, and Taiwan will go to p1 or p2
And if pp3 or pp4 dead , the requests still can automatic forward to p1 or
p2.
But when I check access.log , all of client requests are send to p1 or p2,
none to p3 or p4. Why , am I setting wrong ??
Dose Round-Robin parameter has higher priority than ACL list ??
Received on Wed Jan 05 2000 - 00:52:21 MST

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:50:14 MST