Re: Frontend caching to multiple sites

2008-11-05 Thread rafailowski
Hi, For change vcl on the fly, just do: # varnishadm -T 127.0.0.1:33222 vcl.load vcl_name /path/to/your/vcl/varnish.vcl also look at : vcl.load configname filename vcl.inline configname quoted_VCLstring vcl.use configname vcl.discard configname vcl.list vcl.show configname or if you want :

Re: varnish cookies multilanguage

2007-08-09 Thread rafailowski
Hello, just a (late!) feed back... It's works really fine. sub vcl_recv { if (req.http.cookie ~ LOCALIZER_LANGUAGE) { set req.http.mylang = regsub( req.http.cookie, .*LOCALIZER_LANGUAGE=%22(..)%22.*,

Re: varnish cookies multilanguage

2007-08-02 Thread rafailowski
It doesn't work with this: sub vcl_hash { if (req.http.cookie) { set req.hash += regsub( req.http.cookie, .*LOCALIZER_LANGUAGE=%22(..)%22.*, $1); } } So i investiguate the logs and i found this, it seems that it