IIS 6 的最佳反向代理?
我想设置一个从我们的 Intranet IIS 站点之一指向另一台 tomcat 服务器的反向代理。 例如,我希望用户浏览到 'http://our-iis-server/friend-url' 并将其反向代理到 'http://our-tomcat-server/ugly-url< /a>'。
对此最好的解决方案是什么? 我将其范围缩小到三个选项:
- http://www.managementfusion.com /products/url-rewriter/documentation.aspx
- http://www.isapirewrite.com/
- http://www.codeplex.com/IIRF
另外,这些工具可以重写html中的链接吗? 例如,如果 tomcat 服务器的 html 有类似 'a href = http://our-tomcat -server/ugly-url/product/widget' 我需要将其更改为 'a href = http://our-iis-server/friend-url/product/widget'
提前致谢。 所有好的答案都会被投票!!!
I want to set up a reverse proxy from one of our intranet IIS sites to point to another tomcat server. Eg, i want the user to browse to 'http://our-iis-server/friendly-url' and for it to reverse proxy to 'http://our-tomcat-server/ugly-url'.
What would be the best solution for this? I've narrowed it down to three options:
- http://www.managedfusion.com/products/url-rewriter/documentation.aspx
- http://www.isapirewrite.com/
- http://www.codeplex.com/IIRF
Also, can these tools rewrite the links in the html? Eg, if the tomcat server's html has something like 'a href = http://our-tomcat-server/ugly-url/product/widget' i would need it to change to 'a href = http://our-iis-server/friendly-url/product/widget'
Thanks in advance. All good answers will be voted for!!!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
IIRF 很好而且免费。
但是,它不是反向代理 - 还不是。 [截至2010年3月,IIRF可以充当反向代理]它相当于Apache的mod_
重写,并且您需要mod_
代理。看起来 Helicon ISAPI Rewrite 3.0 支持代理以及 URL 重写。
免费选项包括Windows 上的 Apache,或者您也可以运行 Squid 作为代理服务器。 微软的标准答案是ISA Server。
IIRF is good and free.
However, it's not a reverse proxy - not yet anyway. [as of March 2010, IIRF can act as a Reverse Proxy] It's the equivalent of Apache's mod_
rewrite, and you need mod_
proxy.It looks like Helicon ISAPI Rewrite 3.0 supports proxying as well as URL rewriting.
Free options include Apache on Windows, or you can also run Squid as a proxy server. The canonical Microsoft answer is ISA Server.