Update nice-urls.markdown
added url rewrite for IIS
This commit is contained in:
@@ -86,3 +86,37 @@ define('ENABLE_URL_REWRITE', true);
|
|||||||
```
|
```
|
||||||
|
|
||||||
Adapt the example above according to your own configuration.
|
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.
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user