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

From: Matt <lm7812@dont-contact.us>
Date: Sat, 2 Jun 2007 13:43:20 -0500

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.
Received on Sat Jun 02 2007 - 12:43:24 MDT

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