homepage Welcome to WebmasterWorld Guest from
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member
Home / Forums Index / Code, Content, and Presentation / Apache Web Server
Forum Library, Charter, Moderators: Ocean10000 & incrediBILL & phranque

Apache Web Server Forum

Log Files - IP Address of Load Balancer

Msg#: 4222721 posted 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?



WebmasterWorld Senior Member jdmorgan us a WebmasterWorld Top Contributor of All Time 10+ Year Member

Msg#: 4222721 posted 3:47 pm on Oct 27, 2010 (gmt 0)

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.



Msg#: 4222721 posted 6:29 am on Oct 28, 2010 (gmt 0)

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

Global Options:
 top home search open messages active posts  

Home / Forums Index / Code, Content, and Presentation / Apache Web Server
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved