In order to do a redirect of the Default.aspx to the root you need to have the Microsoft URL rewirte Module For IIS 7 installed which can be found on the downloads page of this site.
In the web.config file these lines need to be added before the "<"/system.webServer">" tag
"<"rewrite">"
"<"rules">"
"<"rule name="Default.aspx Redirect" patternSyntax="Wildcard" stopProcessing="true"">"
"<"match url="default.aspx" /">"
"<"action type="Redirect" url="/dnn493" appendQueryString="false" redirectType="Permanent" /">"
"<"/rule">"
"<"/rules">"
"<"/rewrite">"
This does not create an infinate redirect loop like all other modules. |