VCL help needed

Poul-Henning Kamp phk at phk.freebsd.dk
Tue Jan 30 12:22:24 CET 2007


In message <8591.217.28.163.19.1170153809.squirrel at localhost>, ff at suse.de write
s:
>> 	if (req.url ~ "\.css$|\.gif$|\.jpg$|\.mp3$|\.svf$") {
>
>or with less typage, right?:
> 	if (req.url ~ "\.(css|gif|jpg|mp3|swf)$") {

Probably yes, I'm not a RE wizard either :-)

-- 
Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
phk at FreeBSD.ORG         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe    
Never attribute to malice what can adequately be explained by incompetence.



More information about the varnish-misc mailing list