Re: Forward client IP address
I'm impressed. Really quick answer. Thank you! Regards On 21 feb 2008, at 13.37, Stig Sandbeck Mathisen wrote: Fredrik Nygren <[EMAIL PROTECTED]> 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 ___ varnish-misc mailing list varnish-misc@projects.linpro.no http://projects.linpro.no/mailman/listinfo/varnish-misc ___ varnish-misc mailing list varnish-misc@projects.linpro.no http://projects.linpro.no/mailman/listinfo/varnish-misc
Re: Forward client IP address
Fredrik Nygren <[EMAIL PROTECTED]> 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 ___ varnish-misc mailing list varnish-misc@projects.linpro.no http://projects.linpro.no/mailman/listinfo/varnish-misc
Re: Forward client IP address
On Thursday 21 February 2008 11:39:30 Fredrik Nygren wrote: > Hi, > 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? the originating IP address will be forwarded by varnish to you backend in the X-Forward-for header. search the archives and the net for X-Forward-for and you find (among others) mod_extract_forwarded > > Regards > > > ___ > varnish-misc mailing list > varnish-misc@projects.linpro.no > http://projects.linpro.no/mailman/listinfo/varnish-misc ___ varnish-misc mailing list varnish-misc@projects.linpro.no http://projects.linpro.no/mailman/listinfo/varnish-misc
Forward client IP address
Hi, 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? Regards ___ varnish-misc mailing list varnish-misc@projects.linpro.no http://projects.linpro.no/mailman/listinfo/varnish-misc