Forum Moderators: phranque

Message Too Old, No Replies

Log Files - IP Address of Load Balancer

         

anne10

12:55 pm on Oct 27, 2010 (gmt 0)

10+ Year Member



We are using Apache Servers.

We are using Load balancing technique. But If I checked my log files there are only load balancing server's Ip address and i am not able to find the individual visitor's ipaddress.

Please suggest what to do?

jdMorgan

3:47 pm on Oct 27, 2010 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Configure the load-balancer to send the "Forwarded-For" or "X-Forwarded-For" HTTP header to your back-end servers, and configure custom logging on those back-end servers to log that header instead of logging the Remote-Address or Remote-Host as they do now. See the Apache "custom logging" documentation for more info.

Jim

anne10

6:29 am on Oct 28, 2010 (gmt 0)

10+ Year Member



Thanks Mr. jdMorgan for your Prompt reply and I will try what you said