Update web.config

enable URL rewriting on IIS 8
This commit is contained in:
tiaitsch85 2013-10-30 23:15:40 +01:00
parent 1e729183c8
commit cd0d48ab23

View File

@ -14,5 +14,16 @@
</fileExtensions>
</requestFiltering>
</security>
<rewrite>
<rules>
<rule name="SilverStripe Clean URLs" stopProcessing="true">
<match url="^(.*)$" />
<conditions>
<add input="{REQUEST_FILENAME}" matchType="IsFile" negate="true" />
</conditions>
<action type="Rewrite" url="framework/main.php?url={R:1}" appendQueryString="true" />
</rule>
</rules>
</rewrite>
</system.webServer>
</configuration>