35 lines
1.3 KiB
Plaintext
35 lines
1.3 KiB
Plaintext
|
<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>
|
||
|
<rule name="Ruke 3" stopProcessing="true">
|
||
|
<match url="^(CHANGELOG\.md|composer\.(json|lock))" ignoreCase="false" />
|
||
|
<action type="Rewrite" url="index.php?404" appendQueryString="false" />
|
||
|
</rule>
|
||
|
</rules>
|
||
|
</rewrite>
|
||
|
<defaultDocument>
|
||
|
<files>
|
||
|
<remove value="index.php" />
|
||
|
<add value="index.php" />
|
||
|
</files>
|
||
|
</defaultDocument>
|
||
|
</system.webServer>
|
||
|
</configuration>
|