Skip to content

Instantly share code, notes, and snippets.

@freshcutdevelopment
Last active May 8, 2022 14:05
Show Gist options
  • Select an option

  • Save freshcutdevelopment/8df4ee8cb7470b3e18d3236931b46d97 to your computer and use it in GitHub Desktop.

Select an option

Save freshcutdevelopment/8df4ee8cb7470b3e18d3236931b46d97 to your computer and use it in GitHub Desktop.

Revisions

  1. freshcutdevelopment renamed this gist Nov 4, 2016. 1 changed file with 0 additions and 0 deletions.
    File renamed without changes.
  2. freshcutdevelopment created this gist Nov 4, 2016.
    18 changes: 18 additions & 0 deletions web.config
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,18 @@
    <?xml version="1.0" encoding="utf-8" ?>
    <configuration>
    <system.webServer>
    <rewrite>
    <rules>
    <remove name="pushState" />
    <rule name="pushState" stopProcessing="true">
    <match url=".*" />
    <conditions logicalGrouping="MatchAll">
    <add input="{REQUEST_FILENAME}" matchType="IsFile" negate="true" />
    <add input="{REQUEST_FILENAME}" matchType="IsDirectory" negate="true" />
    </conditions>
    <action type="Rewrite" url="/" />
    </rule>
    </rules>
    </rewrite>
    </system.webServer>
    </configuration>