[squid-users] Refresh pattern issue in squid 3.1.20

Matus UHLAR - fantomas uhlar at fantomas.sk
Mon Dec 28 12:13:59 UTC 2015

On 28.12.15 06:50, Eliezer Croitoru wrote:
>And you can tweak it a bit to something like:
>refresh_pattern -i 
>^http://[a-z\-\_\.A-Z0-9]+\.wsj\.(net|net|com|edu)/ 10 200% 10 \
>	override-expire reload-into-ims

- I would avoid the underscore. underscore is not valid character for an
internet hostname
- dash at the begin or end of [] will eliminate the need for an underscore

[a-zA-Z0-9.-]+ should do it.
Matus UHLAR - fantomas, uhlar at fantomas.sk ; http://www.fantomas.sk/
Warning: I wish NOT to receive e-mail advertising to this address.
Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu.
"To Boot or not to Boot, that's the question." [WD1270 Caviar]

More information about the squid-users mailing list