Re: Acl list Problem

From: Thilo Manske <[email protected]>
Date: Thu, 17 Jun 1999 16:39:46 +0200

On Thu, Jun 17, 1999 at 06:42:53PM +0530, Narasimha Murthy wrote:
> I have configure squid.conf to block porn site and to allow
> notporn site through acl list consist of the same which is
> availabe on the site but still notpron sites are also not
> accessible

> acl porn url_regex "/usr/local/squid/etc/porn.block.txt"
> acl noporn url_regex "/usr/local/squid/etc/pron.unblock.txt"
> http access deny porn
> http access allow noporn
AFAIK position matters (first match wins), so try
http access allow noporn
http access deny porn

BTW: Is this really worth the afford?
Clever people will probably start using IP-#, encoding some letters etc.

-- 
Dies ist Thilos Unix Signature! Viel Spass damit.
Received on Thu Jun 17 1999 - 08:32:33 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:46:54 MST