Re: [squid-users] Few Questions !

From: Brian <hiryuu@dont-contact.us>
Date: Sun, 09 Jun 2002 17:44:49 -0400

On Sunday 09 June 2002 05:43 pm, Arindam Haldar wrote:
> hi all,
> i have 2 questions
>
> 1) wanted to ask why this failed-->
> acl users_realip src "/etc/squid/users-realip"
> acl users_cable src "/etc/squid/users-cable"
> http_access allow users_realip users_cable
> http_access allow localhost
> http_access deny all
> usingthe above gace access denied to every ip in list.
> sooner i give allow to users in 2 consicutive lines users access were
> allowed! http_access allow users_realip
> http_access allow users_cable
> this solved the problem but am wondering y the first failed !

Two acls on a line are ANDed together. Only networks/IPs appearing in
both lists would be allowed in your failed example.

        -- Brian
Received on Sun Jun 09 2002 - 15:44:51 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:08:37 MST