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 :
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.*,
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