Search squid archive

Re: Refresh pattern issue in squid 3.1.20

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

 



On 28/12/2015 5:30 p.m., SaRaVanAn wrote:
> Thanks for prompt response.
> 
> I want to match all the URL's which has a pattern of "wsj" (example: *.
> wsj.com, *.wsj.net, *.wsj.edu ) . Does wildcard makes sense in squid
> refresh pattern? Can we have something like this?
> 
>  refresh_pattern -i ^http://*\.wsj\.*/ 10 200% 10 \
>     override-expire reload-into-ims
> 

Of course. It is a regex pattern. The problem is your own understanding
of regex, so the patterns you are designing are not doing anything like
what you want.

<http://regexone.com/> might help you there.

Amos

_______________________________________________
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