Search squid archive

Re: cant download microsoft cert file

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

 



Would this work aswell

refresh_pattern -i /etc/squid/wu.txt/.*\.(cab|exe|ms[i|u|f]|[ap]sf|wm[v|a]|dat|zip) 4320 80% 43200 reload-into-ims

And in wu.txt

.microsoft.com
.windows.com
.windowsupdate.com

Exactly like my dstdomain

On Mon, 16 Dec 2019, 08:37 Alex Crow, <alex@xxxxxxxxxxxxxxx> wrote:
On 16/12/2019 08:06, robert k Wild wrote:
How can I make a pattern that matches multiple domains please Amos? 


That's not really a subject for this list - search online for "regex" and you will see multiple tutorials about it.

You use a syntax like "(.microsoft.com|.windows.com|(.windowsupdate.com/.*\.(cab|exe|ms[i|u|f]|[ap]sf|wm[v|a]|dat|zip)|foo.com)"

eg (x|y|z(a|b)) would match x, y, za and zb.

Cheers

Alex

_______________________________________________
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