Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I've configured a redirect to point from anything in the root directory to /racktables/. When I actually go to http://host/, however, I am redirected to http://host/racktables, which, of course, redirects back to http://host/racktables ad infinitum.

Entry from web.config: <httpRedirect enabled="true" destination="/racktables/" exactDestination="true" childOnly="true" />

Is it possible to get IIS to honor this redirect exactly, or will I have to create a redirect in the default document at the root of the site? It seems like that would be a fairly significant oversight on Microsoft's part.

share|improve this question
    
Are you using the URL Rewrite Module? –  Brent Pabst Jul 3 '12 at 15:28
    
I'm using the HTTP Redirect module. –  bshacklett Jul 3 '12 at 16:02

1 Answer 1

up vote 1 down vote accepted

If you take a look at the URL Rewrite Module it has some default rules to enforce or change the URL. Two of them that I know about are converting the entire URL to lowercase and another appends a trailing slash to all non-file requests. They are there primarily for SEO purposes but combined with what you have might "replace" or compliment your current setup.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.