[squid-users] ACLs: simple question about http_access and AND operator

From: David Touzeau <david_at_articatech.com>
Date: Mon, 18 Feb 2013 20:19:32 +0100

Dear i need some clarifications about the "AND" operator in http_access (or
any other tokens using ACLs)

I cannot found where i'm missed...

I need to bann some websites except for some specified users.

i create 2 acls:

acl MyAllowedU proxy_auth david jhon mirna
acl bannedw dstdomain .msn.com .yahoo.com

basically i can do that:

http_access deny !MyAllowedU bannedw

Is there any change behavior if i do
http_access deny bannedw !MyAllowedU

I my case, david, jhon and mirna cannot have access to msn.com and yahoo.com

Best regards
Received on Mon Feb 18 2013 - 20:33:20 MST

This archive was generated by hypermail 2.2.0 : Tue Feb 19 2013 - 12:00:04 MST