invalid ban url syntax
bedis9 at gmail.com
Tue Sep 13 07:43:39 CEST 2011
You also removed the " after your domain name.
On Tue, Sep 13, 2011 at 5:37 AM, AD <straightflush at gmail.com> wrote:
> hello, when trying to ban a req.url from the CLI i get the following error,
> any ideas?
> ban req.http.host == "www.domain.com" && req.url ~ "\.png"
> 100 85
> Unknown request.
> Type 'help' for more info.
> Syntax Error: Invalid backslash sequence
> Removing backslash
> ban req.http.host == "www.domain.com && req.url ~ ".png"
> 106 25
> Wrong number of arguments
> varnish-misc mailing list
> varnish-misc at varnish-cache.org
More information about the varnish-misc