在iis 7.0日志中写入客户端ip穿越防火墙
我需要一个在 Windows Server 2008 64 位上运行的 IIS 7.0 解决方案,以便在服务器位于防火墙和代理后面时将客户端 IP 写入 IIS 日志(传递 X-Forwarded-For 标头值)。
我尝试安装 Joe Pruitt 编写的 ISAPI 过滤器。它在 Windows Server 2003 32 位 IIS 6.0 上运行良好,但在 Windows Server 2008 64 位 IIS 7.0 上似乎没有任何作用。
有人在这个版本的操作系统上尝试过这个 ISAPI 过滤器吗?或者有其他解决方案?
链接到 Joe Pruitt(来自 F5)的 ISAPI 过滤器: http://devcentral.f5.com/weblogs/ Joe/archive/2009/08/19/x_forwarded_for_log_filter_for_windows_servers.aspx
最好的问候,
盖伊·贝坦塔尔
I need a solution for IIS 7.0 which runs on windows server 2008 64bit to write my clients IP to IIS logs while the server is behind firewalls and proxies (Pass X-Forwarded-For header value).
I've tried to install the an ISAPI Filter written by Joe Pruitt. it works great on Windows Server 2003 32bit IIS 6.0, but seems to do nothing at all on windows server 2008 64bit IIS 7.0.
Did anyone try this ISAPI filter on this version of OS? or have another solution?
link to the Joe Pruitt's (from F5) ISAPI filter:
http://devcentral.f5.com/weblogs/Joe/archive/2009/08/19/x_forwarded_for_log_filter_for_windows_servers.aspx
best regards,
guy bertental
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我发现了问题 - ISAPI DLL 对应用程序池的标识没有读取权限。
I have found the problem - the ISAPI DLL had no read permissions for the application pool's identity.