VCL Seems to be ignored?

ken at simplyprecise.com ken at simplyprecise.com
Wed Jul 27 19:19:05 CEST 2011


Hello, in Varnish 3.0.0 I have the following in my VCL recv and VCL  
fetch functions:


if (!((req.http.Cookie ~ "member_id=" && req.http.Cookie !~  
"member_id=(0|-1)") || req.http.Cookie ~  
"(guestSkinChoice|language)"))  {
  Execute what's here....
}

What I *think* this should do is only "Execute what's here" if:
there is not a member_id cookie
there is not a member_id cookie that equals 0 or -1

Am I incorrect?




More information about the varnish-misc mailing list