Eriberto wrote:
> Hi,
>
> I am using Squid 2.7.STABLE7 on Debian Squeeze (testing). I use delay
> pools to limit download rates to individual users. But, when using
> url_regex with exclamation mark, it doesn't work. It worked fine in
> previous versions. An example:
>
> acl geral url_regex -i .* !\.htm !\.html !\.php !\.txt !\.jhtm
> !\.shtml !.*.acc\.umu\.se.*
>
> After start a download from *.acc\.umu\.se.*, the cache.log shows:
>
> 2010/06/16 09:48:37| aclMatchRegex: match '.*' found in
> 'http://caesar.acc.umu.se/cdimage/daily-builds/daily/arch-latest/i386/iso-cd/firmware-testing-i386-netinst.iso'
>
> So, the requested URL matched with .* and wasn't excluded by !.*.acc\.umu\.se.*.
>
> Is it a bug?
No. Please read the Access Control FAQ:
http://wiki.squid-cache.org/SquidFaq/SquidAcl#Common_Mistakes
And no. An ACL like that has never worked in Squid.
Amos
-- Please be using Current Stable Squid 2.7.STABLE9 or 3.1.4Received on Thu Jun 17 2010 - 02:08:42 MDT
This archive was generated by hypermail 2.2.0 : Thu Jun 17 2010 - 12:00:03 MDT