This is my configuration file: http://dpaste.com/161264/
This is the site I'm trying to cache: http://www.profumeriasilvia.com:989 (989 is varnish port). My problem is that language is set inside a cookie. So, If I try, for example, in order: 1) http://www.profumeriasilvia.com:989/product/eau-de-rance?lang=it (italian) 2) http://www.profumeriasilvia.com:989/?lang=en (english) 3) http://www.profumeriasilvia.com:989/product/eau-de-rance (should be english, but it's italian). In 3 I've the cookie named django_language. I want to cache pages with django_language in hash if it's set, so all users that choice that language will get the correct translated version. I've used set req.hash += req.http.cookie; but It seems to don't work. What's wrong? Thanks in advance, best regards. -- Alessandro Ronchi http://www.soasi.com SOASI - Sviluppo Software e Sistemi Open Source http://hobbygiochi.com Hobby & Giochi, l'e-commerce del divertimento
_______________________________________________ varnish-misc mailing list [email protected] http://projects.linpro.no/mailman/listinfo/varnish-misc
