varnish & cookies & multilanguage

Poul-Henning Kamp phk at phk.freebsd.dk
Thu Aug 2 17:05:28 CEST 2007


In message <8e6064260708020702w541c5c70t7088de0c0ff205a at mail.gmail.com>, rafailowski writes:


>There's a little problem with these regexp
>".*LOCALIZER_LANGUAGE=\"(..)\".*",
>At the second \ ,varnish returns a "Syntax error".

Yeah, I'm forgetting that I tried to make it easier for webmasters :-)

Try using %22 instead of \"

	".*LOCALIZER_LANGUAGE=%22(..)%22.*"

-- 
Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
phk at FreeBSD.ORG         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe    
Never attribute to malice what can adequately be explained by incompetence.



More information about the varnish-misc mailing list