On 12-4-2010 18:53, Richard Chiswell wrote:
> Try something like:
> sub vcl_deliver {
> if (obj.hits > 0) {
>             set resp.http.X-MH-Cache = "HIT " obj.hits " "*
> server.hostname* " " resp.http.Age;
>         } else {
>             set resp.http.X-MH-Cache = "MISS " *server.hostname* " "
> resp.http.Age;
>         }
> }
> 

Thanks, the server.hostname field works like a charm :)

-- 


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

[email protected]
www.netmatch.nl
------------------------------------------



_______________________________________________
varnish-misc mailing list
[email protected]
http://lists.varnish-cache.org/mailman/listinfo/varnish-misc

Reply via email to