[squid-users] Correct order of acl rules?

Amos Jeffries squid3 at treenet.co.nz
Fri Feb 6 19:27:54 UTC 2015


On 7/02/2015 8:19 a.m., Walter H. wrote:
> the file blockurls-regex-acl.squid
> contains e.g.
> ^http:\/\/s[0-9]\.domain\.tld\/
> 
> the file allowurls-regex-acl.squid
> contains e.g.
> ^http:\/\/s[1-2]+\.domain\.tld\/[a-z0-9\_\-\.]+\.gif
> 
> the purpose should be, that only gif images of root directory of only
> the subdomains beginning with s1 or s2 of domain.tld should be allowed
> 
> the following url is blocked
> 
> http://s2443.domain.tld/ghfhfhf.gif
> 
> why?

"4" != "\."

Amos



More information about the squid-users mailing list