Technical: Microsoft – Internet Information Server – Feature – “URL Rewrite” Missing

Technical: Microsoft – Internet Information Server – Feature – “URL Rewrite” Missing

Introduction

Reviewing a web site and noted that some of the URLs are not working. And, so I am thinking out loud why are some of the functionality not working on my DEV Machine, but working for other Developers.

So it is time to read the Install Docs.

Cry for Help

Cried for Help and told missing functionalities are courtesy of URL Rewriting.  And, that I should make sure that things are wired.

URL Rewrite – Module

IIS – Features – URL Rewrite Missing

Launched IIS Microsoft Management Console (MMC) and reviewed list of features:

URLRewriteMissing

Noticed that “URL Rewrite” is indeed missing from the IIS Panel.  And, so we go to go install it.

Confirmed IIS Version

In MMC Accessed the “Start Page” on the left panel and confirmed version of IIS – 7.0

InternetInformationServices7

Confirmed OS Bitness

Is this 32 or 64-bit?

Access Control Panel \ System and Security \ System

ControlPanel - System and Security - System

And, confirmed that OS is 64-bit

IIS Rewrite – URL – Downloads

Determine which IIS Rewrite Module you need:

Like the kids say “bigger is better” and so opted for Module 2.0 64-bit

IIS Rewrite – Download

Download, Close MMCs, and Install

IIS Rewrite – Module – Review

Relaunched IIS MMC and reviewed modules

URLRewritePresent

Thanks goodness, we now have “URL Rewrite” in our IIS panel.

URL Rewrite – Wiring

URL Rewrite – Stealing

Once your IIS Rewrite module is in place, you ‘re hopefully getting paid a bit too much to do data entry and hand enter the rules that are already in place.

So steal them from a working machine…
Crediting MattB
http://serverfault.com/questions/113561/how-can-i-export-url-rewrite-rules

Export from working machine:



Syntax:

%windir%\system32\inetsrv\appcmd list config <websitename> -section:system.webServer/rewrite/rules -xml > xmlfile

Sample:

%windir%\system32\inetsrv\appcmd list config "SharePoint - 80" -section:system.webServer/rewrite/rules -xml > rewriterules.xml

Import to new machine:


Syntax:

    %windir%\system32\inetsrv\appcmd set config -in < xmlfile

Sample:

   %windir%\system32\inetsrv\appcmd set config -in < rewriterules.xml

References

 

Leave a Reply

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s