Skip to content

Instantly share code, notes, and snippets.

@joseph-farruggio
Created April 11, 2018 15:30
Show Gist options
  • Save joseph-farruggio/cb23256a4019ac808cba6837e720079c to your computer and use it in GitHub Desktop.
Save joseph-farruggio/cb23256a4019ac808cba6837e720079c to your computer and use it in GitHub Desktop.
<configuration>
<system.webServer>
<rewrite>
<rules>
<rule name="redirect all requests" stopProcessing="true">
<match url="^(.*)$" ignoreCase="false" />
<conditions logicalGrouping="MatchAll">
<add input="{REQUEST_FILENAME}" matchType="IsFile" negate="true" pattern="" ignoreCase="false" />
</conditions>
<action type="Rewrite" url="index.html" appendQueryString="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