mod_rewrite equivalent for IIS 7.0 [closed]

空扰寡人 提交于 2019-12-17 02:38:15

问题


Is there a mod_rewrite equivalent for IIS 7.0 that's

a) more or less complete

b) suitable for a production environment, i.e. battle-tested/dependable/secure

Do you have an experience-based recommendation?


回答1:


Check out the URL Rewrite Module for IIS 7 created by Microsoft




回答2:


If you have $99.00 to spare you may want to take a look at http://www.isapirewrite.com/

[Excerpt from thier website]

Product overview

ISAPI_Rewrite is a powerful URL manipulation engine based on regular expressions. It acts mostly like Apache's mod_Rewrite, but is designed specifically for Microsoft's Internet Information Server (IIS). ISAPI_Rewrite is an ISAPI filter written in pure C/C++ so it is extremely fast. ISAPI_Rewrite gives you the freedom to go beyond the standard URL schemes and develop your own scheme.

[Example of use] available at http://www.helicontech.com/articles/provocative_SEF_URLs.htm




回答3:


Have a look at URLRewriter. Used it in production once without problems. But don't rely on that as the only quality check:

http://www.codeplex.com/urlrewriter

(It's free and has a Microsoft Public License)

Managed Fusion URL Rewriter is a powerful URL manipulation engine based on the Apache mod_rewrite extension. It is designed, from the ground up to bring all the features of Apache mod_rewrite to IIS 6.0 and IIS 7.0. Managed Fusion Url Rewriter works with ASP.NET on Microsoft's Internet Information Server (IIS) 6.0 and Mono XPS Server and is fully supported, for all languages, in IIS 7.0, including ASP.NET and PHP. Managed Fusion Url Rewriter gives you the freedom to go beyond the standard URL schemes and develop your own scheme.




回答4:


IIRF

  • works with IIS5, 6 or 7.
  • Free
  • open source
  • well maintained
  • Free
  • supports regular expression pattern matching
  • uses .htaccess syntax
  • RewriteRule
  • RedirectRule
  • RewriteHeader
  • RewriteCond
  • Free
  • use separate config file for each IIS application or site
  • rule changes are loaded automatically
  • ProxyPass
  • Did I mention it is Free?




回答5:


A pefect alternative to Apache mod_rewrite and other Apache modules on IIS7 is Helicon Ape. The syntax is 99% Apache compatible.




回答6:


http://www.iis.net/extensions/URLRewrite was designed for IIS 7.0 and features great performance and administration UI.




回答7:


IIS mod-rewrite is the best option I know, but it's not free.




回答8:


ISAPI Rewrite is suitable for IIS 5 or 6. There's a Lite version available for free, or you can pay for the full version to get more features, such as proxying capabilities. It's been a while since I've used it, but it worked fine at the time.




回答9:


I'm using Helicon Ape since jumped off from Apache and moved to IIS. It's syntax compatible with Apache.




回答10:


You can read my article on how to use Managed Fusion URL Rewriter here:

http://carlos.mendible.com/2010/02/runnig-apache-behind-iis-server-net.html

Hope it helps.



来源:https://stackoverflow.com/questions/60857/mod-rewrite-equivalent-for-iis-7-0

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!