Geeks With Blogs
Asif Maniar Software Engineer

If you want a virtual directory or a site in IIS7.x to redirect to another url you first have to make sure you have installed http redirect for IIS.

To do that goto Control Panel > Program and Features and select Turn Windows features on or off

 

Choose IIS and click on Add Role Services and make sure you check HTTP Redirection

 

 Let the feature be installed and configured.

Now you will see the HTTP Redirect option in the Features View of IIS.

Click HTTP Redirect and add the necessary redirect information to add a redirect for a virtual directory or an entire site.

 

Posted on Tuesday, October 12, 2010 4:00 PM ASP.NET , IIS | Back to top


Comments on this post: Enabling HTTP Redirect in IIS7

# re: Enabling HTTP Redirect in IIS7
Requesting Gravatar...
Thanks! that's just what I needed. Microsoft didn't mention the adding of this role.
Left by dave on Jul 11, 2011 12:23 PM

comments powered by Disqus

Copyright © Asif Maniar | Powered by: GeeksWithBlogs.net