Skip to content

Commit

Permalink
Added system.webServer section to web.config for extensionless URL su…
Browse files Browse the repository at this point in the history
…pport.
  • Loading branch information
shaneray committed Feb 27, 2017
1 parent ade79e2 commit 76e941a
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions input/Web.config
Original file line number Diff line number Diff line change
@@ -1,5 +1,19 @@
<?xml version="1.0"?>
<configuration>
<system.webServer>
<rewrite>
<rules>
<rule name="html">
<match url="(.*)" />
<conditions>
<add input="{REQUEST_FILENAME}" matchType="IsFile" negate="true" />
<add input="{REQUEST_FILENAME}" matchType="IsDirectory" negate="true" />
</conditions>
<action type="Rewrite" url="{R:1}.html" />
</rule>
</rules>
</rewrite>
</system.webServer>
<system.web>
<compilation debug="true" targetFramework="4.0">
<assemblies>
Expand Down

0 comments on commit 76e941a

Please sign in to comment.