comparing 2 headers
Angelo Höngens
a.hongens at netmatch.nl
Mon Jan 25 12:56:57 CET 2010
On 25-1-2010 10:22, Tollef Fog Heen wrote:
> | 3. I want to compare some headers, but I'm getting a compile error:
> |
> | Message from VCC-compiler:
> | Expected CSTR got 'server.ip'
> | (program line 266), at
> | (input Line 1279 Pos 24)
> | if (req.http.host == server.ip) { error 200 ok; }
> | -----------------------#########--------------------
> | Running VCC-compiler failed, exit 1
> | VCL compilation failed
> |
> | I want to make sure that when I point my browser to http://w.x.y.z, I
> | get a message "200 ok". Am I doing something wrong? I'm using
> | Varnish-2.0.4 from ports by the way.
>
> Upgrade. This does work fine with at least 2.0.6 (just tested).
Good to know, I'll wait for it to be in the freebsd ports, and try then.
(I really like to stick to the ports for management and reporting purposes)
> | 4. Is there some documentation on what the ReqEnd and StatSess values
> | mean in the varnishlog output? The values seem interesting, but I have
> | no idea what they are.
>
> http://varnish.projects.linpro.no/wiki/Varnishlog has the tiny start of
> some docs. Help writing up the description of all the tags would be
> appreciated.
Thanks..
--
With kind regards,
Angelo Höngens
systems administrator
MCSE on Windows 2003
MCSE on Windows 2000
MS Small Business Specialist
------------------------------------------
NetMatch
tourism internet software solutions
Ringbaan Oost 2b
5013 CA Tilburg
+31 (0)13 5811088
+31 (0)13 5821239
A.Hongens at netmatch.nl
www.netmatch.nl
------------------------------------------
More information about the varnish-misc
mailing list