Search code examples
iis-7url-rewritingisapi-rewrite

ISAPI_Rewrite In IIS 7


I've been using ISAPI_Rewrite from Helicon (http://www.helicontech.com/isapi_rewrite/) on a Server 2003 box for years and have always had good luck with it.

I'm migrating all the sites on the 2003 box to a new shiny Server 2008 box. I would prefer to not purchase a new license and I have heard that IIS 7 will have capability built in.

All the rewrites are setup in a .htaccess configuration file just like mod_rewrite for Apache.

Does anyone know if this capability ever got baked into IIS 7 and if so do you know of any good articles that explain how to get it all enabled?

Thanks.


Solution

  • IIS7 does have the functionality built in, as you mentioned. You can either use a custom HttpModule, as described in Tip/Trick: Url Rewriting with ASP.NET.

    Alternatively, you could install the the IIS7 Rewrite Module as described here.