Re: [squid-users] How do I block Adult Sites

From: Henrik Nordstrom <hno@dont-contact.us>
Date: Thu, 1 Jan 2004 19:51:34 +0100 (CET)

On Wed, 31 Dec 2003, Nilesh wrote:

> acl porn url_regex "/usr/local/squid/etc/porn"
> http_access deny porn
>
> this sring is not working

Make sure it is BEFORE where you allow access, and that your regex
patterns are correct.

Almost everyone gets url_regex patterns wrong the first and second time.
In most cases you are better off using more focused ACLs such as dstdomain
or dstdomain_regex.

Regards
Henrik
Received on Thu Jan 01 2004 - 11:51:37 MST

This archive was generated by hypermail pre-2.1.9 : Sun Feb 01 2004 - 12:00:02 MST