try
acl blockID url_regex -i ^http://www.xpto.com/\?id=000
the ? has a special meaing in regex, so you have to demask it...
markus
>-----Ursprüngliche Nachricht-----
>Von: Emilio Casbas [mailto:ecasbas@unav.es]
>Gesendet: Donnerstag, 5. Juli 2007 16:27
>An: "Rui Dias | Expoarade - Animação,E.M."
>Cc: squid-users@squid-cache.org
>Betreff: Re: [squid-users] ACL URL question
>
>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-57610c67cac9
>87182f6055118dd6d29e1ccd4445
>
>
>Emilio C.
>
Received on Mon Jul 09 2007 - 02:24:08 MDT
This archive was generated by hypermail pre-2.1.9 : Wed Aug 01 2007 - 12:00:03 MDT