Re: [squid-users] acl working but not reading my porn.txt list?

From: Peter Albrecht <pa@dont-contact.us>
Date: Tue, 26 Nov 2002 13:25:46 +0100

Hi Christian,

change the order of your http_access rules:

http_access deny porn
http_access allow our_network
http_access deny all

If squid detects a matching http_access rule it follows this one and does not
analyze any other rules following below. In your case: all your users are
allowed to go on and squid will never get your deny rule.

Cheers,

Peter

> acl our_network src 192.168.0.0/255.255.0.0
>
> acl porn url_regex -i "C:/squid/etc/porn.txt"
>
>
> http_access allow manager localhost http_access deny manager
> http_access deny !Safe_ports http_access deny CONNECT !SSL_ports
> http_access allow our_network
>
> http_access deny porn
> http_access deny all
>
> -----------------------------------------------------------------

-- 
Peter Albrecht					peter.albrecht@suse.de
Trainer					
SuSE Linux AG					Telefon 089-42769-200
Schulungszentrum München			Telefax 089-42017-701
Stahlgruberring 28				http://www.suse.de/training
81829 München
In a free world without walls and fences, who needs windows and gates?
Received on Tue Nov 26 2002 - 05:24:58 MST

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