In message <[EMAIL PROTECTED]>, "kevi
n fernandes" writes:
>------=_Part_44100_26483652.1199874321414
>Content-Type: text/plain; charset=ISO-8859-1
>Content-Transfer-Encoding: 7bit
>Content-Disposition: inline
>
>Hello All,
>
>I am running varnish and lighttpd. lighttpd webserver runs on port 8080 and
>on localhost. Varnish runs on port 80 and on the public ip. While checking
>the access.log of lighttpd. The webrequests are shown to come from 127.0.0.1.
>I would like to know wht configruation changes are required in varnish to
>log the remote client ip in access.log.

Varnish sends a header "X-Forwarded-for:" to lightttpd which it should
use in the logfile.  You need to check the lighttpd config how to enable that.

-- 
Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
[EMAIL PROTECTED]         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe    
Never attribute to malice what can adequately be explained by incompetence.
_______________________________________________
varnish-misc mailing list
[email protected]
http://projects.linpro.no/mailman/listinfo/varnish-misc

Reply via email to