28 lines
1.1 KiB
Plaintext
28 lines
1.1 KiB
Plaintext
|
If using Windows' IIS 7.0 as your web server, add the following rewrite configuration:
|
||
|
|
||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||
|
<configuration>
|
||
|
<system.webServer>
|
||
|
<rewrite>
|
||
|
<rules>
|
||
|
<rule name="Imported Rule 1" stopProcessing="true">
|
||
|
<match url="^.*$" />
|
||
|
<conditions logicalGrouping="MatchAny">
|
||
|
<add input="{REQUEST_FILENAME}"
|
||
|
matchType="IsFile" pattern=""
|
||
|
ignoreCase="false" />
|
||
|
<add input="{REQUEST_FILENAME}"
|
||
|
matchType="IsDirectory"
|
||
|
pattern="" ignoreCase="false" />
|
||
|
</conditions>
|
||
|
<action type="None" />
|
||
|
</rule>
|
||
|
<rule name="Imported Rule 2" stopProcessing="true">
|
||
|
<match url="^.*$" />
|
||
|
<action type="Rewrite" url="index.php" />
|
||
|
</rule>
|
||
|
</rules>
|
||
|
</rewrite>
|
||
|
</system.webServer>
|
||
|
</configuration>
|