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

From: dwi amk <[email protected]>
Date: Thu, 01 Jan 2004 22:28:11 +0700

``put'' acl yournet src xxx.xxx.xxx.xxx before.

> acl porn url_regex "/usr/local/squid/etc/porn"
``try'' acl porn dstdom_regex "/usr/local/squid/etc/porn"

> http_access deny porn
``try'' http_access allow yournet !porn

``last but not least, don't forget to put'' http_access deny all after.

goodluck!
::damk::

>> Nilesh writes:

>> Hello All,
>>
>> Can you please tell me how do i block adult site
>> i have shifted my proxy server to squid but not able
>> to block sites
>> please help me
>>
>> acl porn url_regex "/usr/local/squid/etc/porn"
>> http_access deny porn
>>
>> this sring is not working
>>
>>
>>
>> __________________________________
>> Do you Yahoo!?
>> Find out what made the Top Yahoo! Searches of 2003
>> http://search.yahoo.com/top2003
Received on Thu Jan 01 2004 - 08:28:36 MST

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