简体   繁体   English

IIS 7的URL重写模块

[英]URL Rewrite Module for IIS 7

Does anyone have experience using the URL Rewrite Module (see here )? 有没有人有使用URL重写模块的经验(请参阅此处 )?

Can it be used to do reverse proxy ? 可以用来做反向代理吗?

您可以同时使用URL重写模块和应用程序请求路由模块来实现反向代理,如文章“ 具有URL重写和应用程序请求路由的反向代理”中所述

That http://codeplex.com/urlrewriter is quite cool, as it supports the standard mod_rewrite syntax . http://codeplex.com/urlrewriter很酷,因为它支持标准的mod_rewrite语法

We use the Microsoft IIS7 URL Rewriter here at SO with great success, though we did have to update to the newer Go-Live license version to get rid of some preview exceptions. 我们在SO上使用Microsoft IIS7 URL Rewriter取得了巨大的成功,尽管我们确实必须更新到更新的Go-Live许可证版本才能摆脱一些预览例外。 Also it doesn't support mod_rewrite syntax, but there is a tool included to convert back and forth to Microsoft's XML based routing table format. 它还不支持mod_rewrite语法,但是其中包含一个工具,可以来回转换为基于Microsoft XML的路由表格式。 (sigh, XML). (叹气,XML)。

However it does not do reverse proxy as Nick noted. 但是,它不会像Nick所说的那样做反向代理。 You may need to install Application Request Routing for IIS7 which apparently offers this feature.. 您可能需要安装IIS7的应用程序请求路由 ,该应用程序显然提供了此功能。

No it can not. 不,它不能。 You have to use a tool like .NET URL Rewriter and Reverse Proxy 您必须使用.NET URL Rewriter和Reverse Proxy之类的工具

http://codeplex.com/urlrewriter http://codeplex.com/urlrewriter

It also supports IIS 6.0, and is accomplished completely through the .NET Framework. 它还支持IIS 6.0,并完全通过.NET Framework完成。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM