Varnish Client IP not logging in Apache Logs
问题 I've configured Varnish 3 with Apache and it is running perfectly alright. However i'm unable to get the Client ip logged in Apache logs. I tried a few solutions googling around with no luck. Right now my Apache access log file is logging the server IP instead of client IP addresses. Here are my configurations for your kind consideration: Varnish VCL: (/etc/varnish/default.vlc): http://pastebin.com/PuBqZ6fx Apache Config /etc/httpd/conf/httpd.conf LogFormat "%{X-Forwarded-For}i %l %u %t \"%r\