In message [EMAIL PROTECTED], Skye Poier Nott writes
:
Answering my own questions again... yes, regex in the host part does
seem to work! Cool!
However I noticed escaping dots doesn't seem to work as normal:
hash.purge #w...6\.example\.com#$
100 41
Syntax Error: Invalid backslash sequence
Does hash.purge take a regex in the host section as well, or just the
url section?
ie is this valid (delete all jpg's for all *.bar.com hosts)
hash.purge #.+\.bar\.com#\.jpg$
Thanks,
Skye
___
varnish-misc mailing list
varnish-misc@projects.linpro.no
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