Question

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.

Was it helpful?

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.

OTHER TIPS

Yes, check out the IIS 7 URL Rewrite Module.

It isn't built-in until you install the Application Request Router (ARR) IIS Extension, and all of its dependencies, which you have to do in a specific order:

  1. Web Farm Framework module.
  2. External cache module.
  3. URL Rewrite module.

Then the ARR module.

Each requires a separate download from download.microsoft.com, but all are free.

Reference: https://blogs.technet.microsoft.com/erezs_iis_blog/2013/11/27/installing-arr-manually-without-webpi/

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top