People, I'm having some problems with complex ACLs. The questions are:
1) How squid works when there's more than one 'http_access allow/deny'
line ? It uses OR or AND ? I think it's OR. Am I wrong ?
2) How squid works on the line: 'http_access allow rule1 rule2 rule3' ? It
uses rule1 AND rule2 AND rule3, or it uses rule1 OR rule2 OR rule3 ???
3) Is the rule 'acl rule1 url_regex string1 string2 string3' possible ? I
mean, will it be matched if the string1 and/or string2 and/or string3 is on
the url ??? If this can be done, will squid use AND or OR ??? It will look
for string1 AND string2 AND string3, or string1 OR string2 OR string3 ????
4) Are ACLs threated on the order they are specified on the squid.conf
file, or the order doesn't matter ?
Well, I really think this is going to take my doubts on ACLs. And I
promisse if I could do everything working the way I want, I'm going to
write a Squid ACL's mini-HOWTO !
Thanks for everybody that will answer me.
Sincerily,
Leonardo Rodrigues
Received on Tue Jan 04 2000 - 13:45:43 MST
This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:50:13 MST