Search squid archive

Re: Exclamation mark (point) doesn't work with url_regex

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.4


[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux