tomcat 5.5.25 上的 x-forward-for

发布于 2024-08-24 00:25:15 字数 313 浏览 4 评论 0原文

我正在努力让 x-forward-for 在 tomcat 5.5.25 上工作,我知道 Tomcat 6.0.24 的补丁已经发布,但我们现在无法升级我们的 tomcat 版本。因此,我深入研究了 Tomcat 6.0.24,发现 RemoteIPValve.class(实现 x-forward-for 的类)位于 catalina.jar 中。我的问题是有人曾经从新版本的 tomcat 中获取 catalina.jar 并将其复制到旧版本的 Tomcat 中吗?我的计划就是这样做,将新的 catalina.jar 放入我们的 5.5.25 版本中。我只是想看看是否有人已经尝试过类似的事情并取得了成功。

I am working on getting x-forward-for to work on tomcat 5.5.25, I know a patch has gone out for Tomcat 6.0.24, but we can't upgrade our tomcat version right now. So I did some digging into the Tomcat 6.0.24 and found the RemoteIPValve.class(the class that implements x-forward-for) is located in catalina.jar. My question is has anybody ever taken catalina.jar from a new version of tomcat and copied over to an older version of Tomcat? My plan is to do just that, take the new catalina.jar and drop it in our 5.5.25 version. I just wanted to see if anybody had already tried something like this and had success.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

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

发布评论

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

评论(1

深爱成瘾 2024-08-31 00:25:15

请注意,Tomcat 5.5 可以使用向后移植。所有详细信息(jar、源和 svn)都在这里:http:// /code.google.com/p/xebia-france/wiki/RemoteIpValve#Install_/_Download

西里尔(泽比亚)

Please note that a backport is available for Tomcat 5.5. All details (jar, sources and svn) are here : http://code.google.com/p/xebia-france/wiki/RemoteIpValve#Install_/_Download .

Cyrille (Xebia)

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