Re: [squid-users] ACL URL question

From: Emilio Casbas <ecasbas@dont-contact.us>
Date: Thu, 05 Jul 2007 16:26:52 +0200

Rui Dias | Expoarade - Animação,E.M. escribió:
> Hello Everyone,
> I need to block a site like http://www.xpto.com/?id=000
> When i try to block the full address with the ?id=000 the rule don’t work,
> but if I block only www.xpto.com .. I can block the website ..
> The problem is that I don’t want to block the whole website only the link
> like at top.
> Anyone?
> Thanks
> Rui
>
>
>

acl xpto dstdomain http://www.xpto.com
acl blockID url_regex -i ^http://www.xpto.com/?id=000

http_access deny blockID
http_access allow xpto

Take a look:
http://wiki.squid-cache.org/SquidFaq/SquidAcl#head-57610c67cac987182f6055118dd6d29e1ccd4445

Emilio C.
Received on Thu Jul 05 2007 - 08:27:07 MDT

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