"Poul-Henning Kamp" <[EMAIL PROTECTED]> writes:
> Hash that part of the cookie in addition to the URL and host, something like:
>
>       vcl_hash {
>               if (req.http.cookie) {
>                       set req.hash += regsub(
>                           req.http.cookie, 
>                           ".*LOCALIZER_LANGUAGE=\"(..)\".*",
>                           "$1");
>               }
>       }
>
> (If this work, please take a moment to add it to our FAQ!)

shouldn't

vcl_hash {
    req.hash += req.http.cookie[LOCALIZER_LANGUAGE];
}

work, or haven't you implemented subscripting yet?

DES
-- 
Dag-Erling Smørgrav
Senior Software Developer
Linpro AS - www.linpro.no
_______________________________________________
varnish-misc mailing list
[email protected]
http://projects.linpro.no/mailman/listinfo/varnish-misc

Reply via email to