Search squid archive

Re: allowing zip only for a specific url regex

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

 



Thanks a lot Amos, as always you have been very helpful

Much appreciated mate

Rob

On Tue, 5 May 2020, 14:55 Amos Jeffries, <squid3@xxxxxxxxxxxxx> wrote:
On 6/05/20 1:39 am, robert k Wild wrote:
> Thanks Amos,
>
> so how would I allow these urls with a wild card then 
>
> Http://domain.com/path/1/to/any/where
>
> Http://domain.com/path/2/to/any/where
>
> Would I do this
>
> Http://domain.com/path/*
>

No. As the url_regex ACL name says, these are regex patterns.

You have to use special anchors (^ and $) to *prevent* them being
wildcard matches.

Simply do like this:

  ^http://domain\.com/path/



Cheers
Amos
_______________________________________________
squid-users mailing list
squid-users@xxxxxxxxxxxxxxxxxxxxx
http://lists.squid-cache.org/listinfo/squid-users
_______________________________________________
squid-users mailing list
squid-users@xxxxxxxxxxxxxxxxxxxxx
http://lists.squid-cache.org/listinfo/squid-users

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

  Powered by Linux