在iis 7.0日志中写入客户端ip穿越防火墙

发布于 2024-08-31 07:01:10 字数 622 浏览 2 评论 0原文

我需要一个在 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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

倒数 2024-09-07 07:01:10

我发现了问题 - ISAPI DLL 对应用程序池的标识没有读取权限。

I have found the problem - the ISAPI DLL had no read permissions for the application pool's identity.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文