In message <[EMAIL PROTECTED]>, Skye Poier Nott writes
:
>Does hash.purge take a regex in the host section as well, or just the  
>url section?

It takes one regexp for the entire hash string, so you can match
against anything you put into the hash.

>ie is this valid (delete all jpg's for all *.bar.com hosts)
>
>hash.purge #.+\.bar\.com#\.jpg$

Yes, except you got the '#' in the wrong side of things:

        .+\.bar\.com#\.jpg#

-- 
Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
[EMAIL PROTECTED]         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe    
Never attribute to malice what can adequately be explained by incompetence.
_______________________________________________
varnish-misc mailing list
[email protected]
http://projects.linpro.no/mailman/listinfo/varnish-misc

Reply via email to