testing v3b, getting error @ launch "Expected ';' ...". syntax?
d1+varnish at postinbox.com
d1+varnish at postinbox.com
Sat May 21 16:39:16 CEST 2011
i've installed to test,
varnishd -V
varnishd (varnish-3.0.0-beta1 revision 5e2c77b)
Copyright (c) 2006-2009 Linpro AS / Verdens Gang AS
at varnish launch,
Message from VCC-compiler:
Expected ';' got '", "'
(program line 174), at
('/etc/varnish/vcl.svr1.conf' Line 90 Pos 42)
req.http.X-forwarded-For ", "
-----------------------------------------####
Running VCC-compiler failed, exit 1
VCL compilation failed
where, in
/etc/varnish/vcl.svr1.conf
if (req.http.X-Forwarded-For) {
set req.http.X-forwarded-For =
90 req.http.X-forwarded-For ", "
regsub(client.ip, ":.*", "");
}
as the stanza's find in v2.1.5x, reading v3's doc/changes.rst, i suspect
i'm missing/misunderstanding a syntax change.
is this the relevant stmt,
- Change ``req.hash += value`` to ``hash_data(value)``
&/or what's the issue with the stanza above?
thx.
More information about the varnish-misc
mailing list