Hi,
This is a FAQ. The order of the application of ACLs is important. Squid
behaves as follows:
http_access acl AND acl AND ...
or
http_access acl AND acl AND ...
or
http_access acl AND acl AND ...
...
It also stops at the first match.
So, from your list, only the first three http_access lines ever will be
used. If someone is going to ebsco, they pass else if they're going to
colstate they pass else they go nowhere because the "http_access deny BAD"
catches all other destinations. No further http_access lines will be
checked.
Colin
On Wed, 7 Mar 2001, Olano, Kenny Kris wrote:
> I am having problems trying to get the password box to popup in the
> client's browser but no password box comes up. Here is my code
> Please tell me if i am doing something wrong.
>
>
> acl ebsco dstdomain .ebsco.com
> acl colstate dstdomain .colstate.edu
> acl BAD dst 0.0.0.0/0.0.0.0
>
> http_access allow ebsco
> http_access allow colstate
> http_access deny BAD
>
> http_access allow localhost
> acl proxyUSER proxy_auth REQUIRED
>
>
> http_access allow proxyUSER
> http_access deny all
-- To unsubscribe, see http://www.squid-cache.org/mailing-lists.htmlReceived on Wed Mar 07 2001 - 17:40:31 MST
This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:58:34 MST