Re: [squid-users] [URGENT!]: Why does ACL not work???

From: Henrik Nordstrom <hno@dont-contact.us>
Date: Sat, 3 Nov 2001 16:59:13 +0100

On Saturday 03 November 2001 11.30, Boniforti Flavio wrote:
> Hello! Here my ACLs...
>
> I can't block sites contained in "vietati.txt"!!! Why that happens???
>
> HELP ME URGENTLY!!!
>
> # Regole Co-Ver Group
> acl vietati dstdomain "/home/squid/acl/vietati.txt"
> acl estensioni url_regex "/home/squid/acl/estensioni.txt"
> acl anti-worm url_regex "/home/squid/acl/blocca-worm.txt"
> acl utenti src "/home/squid/acl/utenti.txt"
>
> http_access allow utenti

The above allows utenti access to everything. http_access processing stops
here as there is a match.

> http_access deny vietati
> http_access deny anti-worm
> http_access deny estensioni
> http_access deny all
> #http_access allow all

Try the following

http_access deny vietati
http_access deny anti-worm
http_access deny estensioni
http_access allow utenti
http_access deny all

Regards
Henrik Nordström
Squid Hacker
Received on Sat Nov 03 2001 - 09:05:47 MST

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