Search squid archive

Re: acl deny versus acl allow?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Roger Thomas wrote:
Hi,

This is my first time posting to the mailing list, but I just wanted to know
whether anyone knew how to do the below:

I use the following to block a list of words from URL’s:

acl misc_block_list url_regex -i "/etc/squid/block/misc_block.list"
http_access deny misc_block_list

I am trying to allow certain words, so for example, the word sex is in the
block list, but I want the word sussex to be allowed.
I have created another file called misc_allow.list but I’m not sure how to
tell it to allow.  I presumed something like this:

acl misc_allow_list url_regex -i "/etc/squid/block/misc_allow.list"
http_access allow deny misc_allow_list

this doesn’t work though.

The word 'deny' is fully replaced with the word 'allow'.

Please read and understand the FAQ on ACL before continuing with your testing:
  http://wiki.squid-cache.org/SquidFaq/SquidAcl

Amos
--
Please be using
  Current Stable Squid 2.7.STABLE5 or 3.0.STABLE10
  Current Beta Squid 3.1.0.2

[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux