mirror of
https://github.com/snipe/snipe-it.git
synced 2024-12-27 06:29:47 -08:00
b772d8e527
Thanks, @BrettFagerlund!
28 lines
1.1 KiB
Plaintext
28 lines
1.1 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>
|
|
<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>
|
|
</rules>
|
|
</rewrite>
|
|
<staticContent>
|
|
<remove fileExtension=".woff2" />
|
|
<mimeMap fileExtension=".woff2" mimeType="application/x-font-woff2" />
|
|
</staticContent>
|
|
</system.webServer>
|
|
</configuration>
|