httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joshua Slive <jos...@slive.ca>
Subject Re: [users@httpd] about mod_proxy
Date Tue, 25 Mar 2003 21:08:37 GMT

On Tue, 25 Mar 2003, Ernesto Freyre wrote:

> Thank you Joshua you are right , I was calling it at httpd.conf also.
> Now I am seeing that at my logs only the IP addres from the front-end is
> being recorded, exists some way the IP address contained in
> HTTP_X_FORWARDED_FOR to be recorded in logs of the back-end?
>
> Thank you for your valious time , and apologize me please for too much
> questions :-).

The documentation for logging in 1.3 is here:
http://httpd.apache.org/docs/mod/mod_log_config.html

What you need to do is find the logformat string that you are using and
replace %h with %{X-Forwarded-For}i

Joshua.

---------------------------------------------------------------------
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@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message