Welcome to WebmasterWorld Guest from 54.144.79.200

Forum Moderators: Ocean10000 & incrediBILL & phranque

Message Too Old, No Replies

Log Files - IP Address of Load Balancer

     

anne10

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



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 jdmorgan is a WebmasterWorld Top Contributor of All Time 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)



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