-------- Original Message --------
Subject: acl regex not working right
Date: Sun, 11 Oct 2009 13:15:43 +0100
From: Dayo Adewunmi <contactdayo_at_gmail.com>
Reply-To: contactdayo_at_gmail.com
To: squid-users_at_squid-cache.org
Hi guys
the following acl is supposed to deny access to any sites with the word
"warez" in the URL.
But it's not working. What am I doing wrong?
acl warez-sites url_regex -i warez
http_access deny warez-sites
OS: Ubuntu 8.04
Squid: 2.6.18-1ubuntu3
Thanks
Dayo
Hey guys,
nevermind. There's nothing wrong with the ACL. It's place I put it in the config file.
Order is everything with ACLs. A previous ACL had already allowed access, which
is why acl warez-sites never came into play. Squid quits parsing at the first
successful ACL.
Best regards
Dayo
Received on Sun Oct 11 2009 - 12:59:06 MDT
This archive was generated by hypermail 2.2.0 : Mon Oct 12 2009 - 12:00:03 MDT