Hi, I am using a CentOS 5.5 server as a backend for one of my websites.On a Ubuntu Reverse Proxy. After reading documentation [url=http://httpd.apache.org/docs/2.2/mod/mod_log_config.html#formats]Apache Log Format documentation[/url] I added in [code] /etc/httpd/conf/httpd.conf [/code] a Line [code] LogFormat "%v %{X-Forwarded-For}i %D %l %u %t \"%r\" %>s %b" resp [/code] and in VirtualHost section added [code] CustomLog /var/log/httpd/site_in_question-resp_log resp [/code] restarted httpd and checked the logs to my surprise I did not found any thing in [code] CustomLog /var/log/httpd/site_in_question-resp_log resp [/code] Did I do some mistake above ? Or what is the correct way to get X-Forwarded-For header. -- Tapas --------------------------------------------------------------------- The official User-To-User support forum of the Apache HTTP Server Project. See <URL:http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx " from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx