httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tapas Mishra <>
Subject [users@httpd] Recording X-Forwarded-For header in HTTP request
Date Thu, 03 Jun 2010 14:14:36 GMT
 I am using a CentOS 5.5 server as a backend for one of my websites.On
a Ubuntu Reverse Proxy.
After reading documentation
Log Format documentation[/url]

I added in
a Line

LogFormat "%v %{X-Forwarded-For}i %D %l %u %t \"%r\" %>s %b" resp

and in VirtualHost section added
CustomLog /var/log/httpd/site_in_question-resp_log resp

restarted httpd and checked the logs
to my surprise I did not found any thing in
CustomLog /var/log/httpd/site_in_question-resp_log resp
Did I do some mistake above ?
Or what is the correct way to get X-Forwarded-For header.


The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message