mirror of
https://github.com/mivodev/mivo.git
synced 2026-01-26 05:25:42 +07:00
27 lines
1.3 KiB
XML
27 lines
1.3 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<configuration>
|
|
<system.webServer>
|
|
<rewrite>
|
|
<rules>
|
|
<rule name="Imported Rule 1" stopProcessing="true">
|
|
<match url="^" ignoreCase="false" />
|
|
<conditions logicalGrouping="MatchAll">
|
|
<add input="{HTTP_AUTHORIZATION}" ignoreCase="false" />
|
|
<add input="{REQUEST_FILENAME}" matchType="IsDirectory" ignoreCase="false" negate="true" />
|
|
<add input="{URL}" pattern="(.+)/$" ignoreCase="false" />
|
|
</conditions>
|
|
<action type="Redirect" url="{C:1}" redirectType="Permanent" />
|
|
</rule>
|
|
<rule name="Imported Rule 2" stopProcessing="true">
|
|
<match url="^" ignoreCase="false" />
|
|
<conditions logicalGrouping="MatchAll">
|
|
<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>
|
|
</rules>
|
|
</rewrite>
|
|
</system.webServer>
|
|
</configuration>
|