diff options
author | Trapulo <Trapulo@users.noreply.github.com> | 2016-03-07 12:06:15 +0100 |
---|---|---|
committer | Trapulo <Trapulo@users.noreply.github.com> | 2016-03-07 12:06:15 +0100 |
commit | 8ba0ffce3cbf8caf310930080245697bdaa7930a (patch) | |
tree | f1aab3f473c6b8dde068e6c817b8fc9dc99b37b9 | |
parent | 85665e1280e8e4fbc688ff539d805946b2f4f672 (diff) |
IIS outofthebox nice url
This enables nice urls on IIS out of the box. No effects on other Web servers.
-rw-r--r-- | web.config | 17 |
1 files changed, 17 insertions, 0 deletions
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> |