Blocking porn and related sites on Squid
acl porn url_regex "/usr/local/squid/etc/porn"
Using url_regex ACL
Add these lines to your squid.conf file:
acl noporn url_regex "/usr/local/squid/etc/noporn"
http_access deny porn !noporn
Thanks to Dr. P. Sriram from India for the suggestion.
noporn file. Last change: May/30/2001
porn file. Last change: Feb/17/2000
Alan Knowles Maintains a Blocking list for the Squid Proxy with Automatic Updating feature.
If you want to know about new releases and/or changes, subscribe my Email list.
Once on, you can send messages to the group: email@example.com