RE: [squid-users] Blocking porn site

From: Hermann Strassner <hermann.strassner@dont-contact.us>
Date: Thu, 18 Jul 2002 10:18:24 +0200

> I do testing and seems like user still can go to porno site. Seems like
> my squid box didn't block the site mention. How do i solve this problem?

You have to use:
acl localusers src 192.4.5.0/255.255.255.0
acl porn url_regex "/usr/local/squid/etc/porn"
http_access deny porn
http_access allow localusers
http_access deny all

Hermann
Received on Thu Jul 18 2002 - 02:18:28 MDT

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