Re: [squid-users] ACL's rules whats wrong ???

From: Henrik Nordstrom <hno@dont-contact.us>
Date: Sat, 12 Apr 2003 16:21:25 +0200

Works here in very similar setups.

Please give a few examples with what is said in access.log and your
expected result for the corresponding request and we may be able to help
you explain why things do not work as expected.

Note: The user lgsm is member of your liberados acl and is given access
to all sites. This is unrelated to the bloqueados or pgliberadas acls
mentioned in your question as this rule is first in http_access.

Regards
Henrik

Luiz Gustavo Sarubi Macchi wrote:
>
> Hi guys !
>
> I'm trying to deny some users to all urls (bloqueados acl's name),
> except for some urls (pgliberadas).
>
> I'm using pam_auth and the authenticate dont work correctly
> because the rules dont apply with all users that the same acl.
>
> example:
> The bloqueados's acl work with lgsm only, the others no!
> It's the same with liberados's acl
>
> Can anyone help me with this ?
>
> acl password proxy_auth REQUIRED
> acl bloqueados proxy_auth alessandro fabiano rodrigo william daniel
> patricia
> acl liberados proxy_auth lgsm junior paloma julia gilberto licia joao
> denise pedro
>
> acl pgliberadas url_regex [-i] ^equifax sci sintegra cep
>
> http_access allow liberados
> http_access allow bloqueados pgliberadas
> http_access deny bloqueados
> http_access deny all
>
> Thanks a lot

-- 
Free Squid-users support provided by Henrik Nordström
<hno@squid-cache.org>
Donations welcome if you consider my Free Squid support helpful.
https://www.paypal.com/xclick/business=hno%40squid-cache.org
If you need commercial Squid support or cost effective Squid and
firewall appliances please refer to MARA Systems AB, Sweden
http://www.marasystems.com/, info@marasystems.com
Received on Sat Apr 12 2003 - 08:22:31 MDT

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