diff options
author | Frederic Guillot <fred@kanboard.net> | 2016-03-07 19:22:40 -0500 |
---|---|---|
committer | Frederic Guillot <fred@kanboard.net> | 2016-03-07 19:22:40 -0500 |
commit | 2bc2d347a6cbb6dff02d9c6a8e9da140fb9a9b82 (patch) | |
tree | 43474d1a085def46e005bd323cf3192bdae88b4a | |
parent | 2409f33c20488290015e7c951803e62d90eaa256 (diff) | |
parent | 15bddd1a906592e2600b0d595346f49450b56c82 (diff) |
Merge pull-request #1958
-rw-r--r-- | data/web.config | 6 | ||||
-rw-r--r-- | web.config | 17 |
2 files changed, 23 insertions, 0 deletions
diff --git a/data/web.config b/data/web.config new file mode 100644 index 00000000..80cc488c --- /dev/null +++ b/data/web.config @@ -0,0 +1,6 @@ +<?xml version="1.0" encoding="UTF-8"?> +<configuration> + <system.webServer> + <handlers accessPolicy="None" /> + </system.webServer> +</configuration> diff --git a/web.config b/web.config new file mode 100644 index 00000000..c86be8b4 --- /dev/null +++ b/web.config @@ -0,0 +1,17 @@ +<?xml version="1.0" encoding="UTF-8"?> +<configuration> + <system.webServer> + <rewrite> + <rules> + <clear /> + <rule name="Kanboard-nice-urls" stopProcessing="true"> + <match url="^" ignoreCase="false" /> + <conditions logicalGrouping="MatchAll" trackAllCaptures="false"> + <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> |