Update IIS config file

This commit is contained in:
Frederic Guillot 2016-06-29 22:21:59 -04:00
parent 1aab142127
commit bb86197af1
No known key found for this signature in database
GPG Key ID: 92D77191BA7FBC99
1 changed files with 10 additions and 5 deletions

View File

@ -1,12 +1,17 @@
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0"?>
<configuration> <configuration>
<system.webServer> <system.webServer>
<defaultDocument>
<files>
<clear />
<add value="index.php" />
</files>
</defaultDocument>
<rewrite> <rewrite>
<rules> <rules>
<clear /> <rule name="Kanboard URL Rewrite" stopProcessing="true">
<rule name="Kanboard-nice-urls" stopProcessing="true"> <match url="^(.*)$" ignoreCase="false" />
<match url="^" ignoreCase="false" /> <conditions logicalGrouping="MatchAll">
<conditions logicalGrouping="MatchAll" trackAllCaptures="false">
<add input="{REQUEST_FILENAME}" matchType="IsFile" ignoreCase="false" negate="true" /> <add input="{REQUEST_FILENAME}" matchType="IsFile" ignoreCase="false" negate="true" />
</conditions> </conditions>
<action type="Rewrite" url="index.php" appendQueryString="true" /> <action type="Rewrite" url="index.php" appendQueryString="true" />