summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFrederic Guillot <fred@kanboard.net>2016-03-07 19:22:40 -0500
committerFrederic Guillot <fred@kanboard.net>2016-03-07 19:22:40 -0500
commit2bc2d347a6cbb6dff02d9c6a8e9da140fb9a9b82 (patch)
tree43474d1a085def46e005bd323cf3192bdae88b4a
parent2409f33c20488290015e7c951803e62d90eaa256 (diff)
parent15bddd1a906592e2600b0d595346f49450b56c82 (diff)
Merge pull-request #1958
-rw-r--r--data/web.config6
-rw-r--r--web.config17
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>