Re: [squid-users] How to deny a specific URL?

From: D & E Radel <radel@dont-contact.us>
Date: Sun, 03 Jun 2007 09:22:33 +1200

Matt wrote:
> Does Squid need restarted everytime you add to blocked sites?
>
> Matt
>
>> I put all each url on a separate line in a text file and use the
>> following:
>>
>>
>> # Block websites using url or keywords.
>> # Uses "\.file$" format to block file extensions
>> #-------------------------------------------------
>> acl blocked_content url_regex -i "/etc/squid/blocked_sites.txt"
>> http_access deny blocked_content download all
>> http_access deny blocked_content all
>> http_reply_access deny blocked_content all
>>
>>
>> Hope that this helps
>> D.Radel.
>

Yes. :-)
D.Radel.
Received on Sat Jun 02 2007 - 15:22:41 MDT

This archive was generated by hypermail pre-2.1.9 : Sun Jul 01 2007 - 12:00:03 MDT