[squid-users] Blocking porn site

From: Yuzz <yuzz@dont-contact.us>
Date: Thu, 18 Jul 2002 15:45:16 +0800

Hello
i had a problem when blocking "unhealthy site". i use this config below

acl localusers src 192.4.5.0/255.255.255.0
acl porn url_regex "/usr/local/squid/etc/porn"
http_access allow localusers !porn
http_access deny all

and also use this config

acl localusers src 192.4.5.0/255.255.255.0
acl porn url_regex "/usr/local/squid/etc/porn"
http_access allow localusers
http_access deny porn all

and also this config

acl localusers src 192.4.5.0/255.255.255.0
acl porn url_regex "/usr/local/squid/etc/porn"
http_access allow localusers
http_access deny porn
http_access deny all

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?

--
Yuzz
System Engineer
Tel : +606-3345666
Fax : +606-3372233
Received on Thu Jul 18 2002 - 01:45:32 MDT

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