mirror of
https://github.com/cp6/my-idlers.git
synced 2024-11-16 23:42:32 +01:00
a314ac99ef
Initial v2 commit Laravel project
29 lines
1.2 KiB
Plaintext
29 lines
1.2 KiB
Plaintext
<!--
|
|
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
|
|
-->
|
|
<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>
|
|
</system.webServer>
|
|
</configuration>
|