Ryan Smith
Ryan Smith

Reputation: 8324

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.

Upvotes: 5

Views: 9671

Answers (3)

vapcguy
vapcguy

Reputation: 7537

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/

Upvotes: 0

Chris Fulstow
Chris Fulstow

Reputation: 41872

Yes, check out the IIS 7 URL Rewrite Module.

Upvotes: 0

Jeromy Irvine
Jeromy Irvine

Reputation: 11804

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.

Upvotes: 4

Related Questions