Re: [squid-users] Allowing accidentally blocked sites

From: Henrik Nordstrom <[email protected]>
Date: Sat, 14 Jul 2007 09:45:49 +0200

fre 2007-07-13 klockan 23:49 -0400 skrev administrador@cha.jovenclub.cu:
> I am filtering some porn sites using url_regex. I have some gneral
> patterns in the file that block most of the bad sites but it also blocks
> good sites which URLs contain those key words that are registered in the
> url_regex file. I want to allow those sites including safe internet
> navigation
>
> what i have in the squid.conf is something like this:
>
> acl porn url_regex -i "/etc/squid/porn"
> acl allowed_site url_regex -i "/etc/squid/allowed"
>
> http_access deny porn

replace the above with

http_access deny !allowed_site porn

Regards
Henrik

Received on Sat Jul 14 2007 - 01:46:00 MDT

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