Hi,

You also removed the " after your domain name.

cheers

On Tue, Sep 13, 2011 at 5:37 AM, AD <[email protected]> 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
> Cheers.
> _______________________________________________
> varnish-misc mailing list
> [email protected]
> https://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc
>

_______________________________________________
varnish-misc mailing list
[email protected]
https://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc

Reply via email to