Re: acl from a file

From: Dean McDonald <>
Date: Thu, 21 Jan 1999 14:20:20 +1100

>I am trying to use a file as a list of banned sites. It was downloaded from 
>I have included the following two lines in squid/conf
>acl denied_destinations dst "/usr/local/squid/etc/deniedsites"
>http_access deny denied_destinations
>The file is saved in that directory as 'deniedsites'.
>When I access one of the sites in the list it quite happily provides it! What
>have I done wrong?

(just a thought)

Try putting the http_access deny line above any http_access allow lines
in your config file, and maybe use "dstdom_regex" instead of just "dst"
- (im not sure about the second part tho) - that might depend on which ver. of
squid you're using.


acl denied_destinations dstdom_regex "/usr/local/squid/etc/deniedsites"
http_access deny denied_destinations
http_access allow ....etc

sorry if you've already tried this.


Dean McDonald
System Administrator Pty Ltd
Received on Wed Jan 20 1999 - 20:05:26 MST

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:44:05 MST