2019-04-17 14:01:38 +00:00
|
|
|
<!--
|
|
|
|
Rewrites requires Microsoft URL Rewrite Module for IIS
|
|
|
|
Download: https://www.microsoft.com/en-us/download/details.aspx?id=47337
|
|
|
|
Debug Help: https://docs.microsoft.com/en-us/iis/extensions/url-rewrite-module/using-failed-request-tracing-to-trace-rewrite-rules
|
|
|
|
-->
|
2018-08-06 12:30:51 +00:00
|
|
|
<configuration>
|
|
|
|
<system.webServer>
|
|
|
|
<rewrite>
|
|
|
|
<rules>
|
|
|
|
<rule name="Imported Rule 1" stopProcessing="true">
|
|
|
|
<match url="^(.*)/$" ignoreCase="false" />
|
|
|
|
<conditions>
|
|
|
|
<add input="{REQUEST_FILENAME}" matchType="IsDirectory" ignoreCase="false" negate="true" />
|
|
|
|
</conditions>
|
|
|
|
<action type="Redirect" redirectType="Permanent" url="/{R:1}" />
|
|
|
|
</rule>
|
|
|
|
<!--# Rewrite rule for the delivery of static resources-->
|
|
|
|
<rule name="Imported Rule 2" stopProcessing="true">
|
|
|
|
<match url="^" ignoreCase="false" />
|
|
|
|
<conditions>
|
|
|
|
<add input="{REQUEST_FILENAME}" matchType="IsDirectory" ignoreCase="false" negate="true" />
|
|
|
|
<add input="{REQUEST_FILENAME}" matchType="IsFile" ignoreCase="false" negate="true" />
|
|
|
|
</conditions>
|
|
|
|
<action type="Rewrite" url="index.php" />
|
|
|
|
</rule>
|
2018-12-17 16:10:17 +00:00
|
|
|
<rule name="Rule 3" stopProcessing="true">
|
2018-08-06 12:30:51 +00:00
|
|
|
<match url="^(CHANGELOG\.md|composer\.(json|lock))" ignoreCase="false" />
|
|
|
|
<action type="Rewrite" url="index.php?404" appendQueryString="false" />
|
|
|
|
</rule>
|
|
|
|
</rules>
|
|
|
|
</rewrite>
|
|
|
|
<defaultDocument>
|
|
|
|
<files>
|
2019-02-12 11:21:35 +00:00
|
|
|
<clear />
|
|
|
|
<add value="index.php" />
|
|
|
|
<add value="Default.htm" />
|
|
|
|
<add value="Default.asp" />
|
|
|
|
<add value="index.htm" />
|
|
|
|
<add value="index.html" />
|
|
|
|
<add value="iisstart.htm" />
|
2018-08-06 12:30:51 +00:00
|
|
|
</files>
|
|
|
|
</defaultDocument>
|
|
|
|
</system.webServer>
|
|
|
|
</configuration>
|