Forward client IP address

Stig Sandbeck Mathisen ssm at linpro.no
Thu Feb 21 13:37:36 CET 2008


Fredrik Nygren <fredrik.nygren at gotamedia.se> writes:

> I'm running Varnish 1.1.2 with Apache at the backend. When I follow
> Apaches access logs all incoming clients have the same IP-number,
> the IP-number of my Varnish server of course. How do I forward the
> IP- number of an incoming request from Varnish to Apaches access
> logs? Is it possible?

I've added a recipe for this to the FAQ, see

http://varnish.projects.linpro.no/wiki/FAQ#HowcanIlogtheclientIPaddressonthebackend

(nice long url)
-- 
Stig Sandbeck Mathisen, Linpro



More information about the varnish-misc mailing list