阅读背景:

IIS日志文件和负载均衡器?

来源:互联网 

We host our ASP.NET applications on two web servers (Server 2003, IIS 6) that reside behind a hardware load balancer. When I look at the IIS logs, the c-ip value in the IIS (v6) logs are ALWAYS the IP address of the load balancer. I noticed in the http headers, there is an X-Forwarded-For header that appears to have the requesting IP address. Is there something I can do to make IIS log this header value in the logs?We host our ASP.NET applications on two web ser




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: