url.purge and regexp
Dag-Erling Smørgrav
des at linpro.no
Thu May 10 15:53:14 CEST 2007
Denis Ahrens <denis at zeno.org> writes:
> How Iam supposed to purge an URL like this in CLI:
>
> http://www.example.com/page.html?foo=bar&bar=foo
>
> Iam asking because I don't know what will happen with
> the "?" in the line. Is it part of the regexp or part
> of the url then because escaping with "\" is not
> possible (Illegal backslash sequence).
You need to escape the backslash:
url.purge http://www.example.com/page.html\\?foo=bar&bar=foo
DES
--
Dag-Erling Smørgrav
Senior Software Developer
Linpro AS - www.linpro.no
More information about the varnish-misc
mailing list