Re: Passing through client IP address to server

2007-06-08 Thread Denis Brækhus
- ADOFMS Admin, SteveOC [EMAIL PROTECTED] wrote:
 There is also a HTTP_X_VARNISH variable set as well, which is just a
 number.  Any idea what this one does ?

This number is a request number you can use for debugging. 
varnishlog outputs these identifiers and you can cross check with the number 
from the header.

Regards
-- 
Denis Braekhus - Teknisk Ansvarlig ABC Startsiden AS
http://www.startsiden.no

___
varnish-misc mailing list
varnish-misc@projects.linpro.no
http://projects.linpro.no/mailman/listinfo/varnish-misc


Re: varnishlog filtering on host

2007-06-08 Thread Dag-Erling Smørgrav
Gaute Amundsen [EMAIL PROTECTED] writes:
 How would you call varnishlog to verify hits and misses when adding a
 new host to a varnish that allready has some traffic?

Try 'varnishlog -c -o VCL_call hit' and 'varnishlog -c VCL_call miss'.

Also, varnishhist will show you the relative proportions of hits and
misses in real time (so will varnishstat, for that matter, but not as
prettily)

DES
-- 
Dag-Erling Smørgrav
Senior Software Developer
Linpro AS - www.linpro.no
___
varnish-misc mailing list
varnish-misc@projects.linpro.no
http://projects.linpro.no/mailman/listinfo/varnish-misc