Update nice-urls.markdown

added url rewrite for IIS
This commit is contained in:
Trapulo 2016-01-26 11:21:05 +01:00
parent 16b9b9d140
commit 85665e1280
1 changed files with 34 additions and 0 deletions

View File

@ -86,3 +86,37 @@ define('ENABLE_URL_REWRITE', true);
```
Adapt the example above according to your own configuration.
IIS configuration example
---------------------------
Create a web.config in you installation folder:
```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="{REQUEST_FILENAME}" matchType="IsFile" ignoreCase="false" negate="true" />
</conditions>
<action type="Rewrite" url="index.php" appendQueryString="true" />
</rule>
</rules>
</rewrite>
</system.webServer>
</configuration>
```
In your Kanboard `config.php`:
```php
define('ENABLE_URL_REWRITE', true);
```
Adapt the example above according to your own configuration.