-------- Original Message --------
Subject: acl regex not working right
Date: Sun, 11 Oct 2009 13:15:43 +0100
From: Dayo Adewunmi <contactdayo@xxxxxxxxx>
Reply-To: contactdayo@xxxxxxxxx
To: squid-users@xxxxxxxxxxxxxxx
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