Skip to content

Instantly share code, notes, and snippets.

@tjrobinson
Created July 2, 2014 12:57
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tjrobinson/28d9d854857b83d00cb5 to your computer and use it in GitHub Desktop.
Save tjrobinson/28d9d854857b83d00cb5 to your computer and use it in GitHub Desktop.
Defining a redirect/rewrite in the Web.config
<?xml version="1.0"?>
<configuration>
<system.webServer>
<rewrite>
<rules>
<rule name="Index Request" enabled="true" stopProcessing="true">
<match url="^$"/>
<action type="Rewrite" url="App/app.html" logRewrittenUrl="true"/>
</rule>
</rules>
</rewrite>
</system.webServer>
</configuration>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment