Hi,

I see quite a lot of answers but for some reason noone has noticed the
obvious error here. :-)

On Tue, Feb 25, 2014 at 5:31 PM, Andrew Langhorn <
[email protected]> wrote:

> Hi all,
>
>
> The section that Varnish seems to trip up on is:
>
>   if (req.request == "PURGE" ) {
>      if (!client.ip ~ purge) {
>         error 403 "Forbidden";
>      }
>      return (lookup);
>   }
>

What I'm guessing you are trying to say is
 if (client.ip !~ purge) {
        error 403 "Forbidden";
 }

"!client.ip" doesn't make sense in my book as client.ip isn't boolean.


-- 
 <http://www.varnish-software.com/> *Per Buer*
CTO | Varnish Software
Phone: +47 958 39 117 | Skype: per.buer
We Make Websites Fly!

Winner of the Red Herring Top 100 Global Award 2013
_______________________________________________
varnish-misc mailing list
[email protected]
https://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc

Reply via email to