aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOliver Schramm <oliver.schramm97@gmail.com>2015-03-23 18:23:12 +0100
committerOliver Schramm <oliver.schramm97@gmail.com>2015-03-23 18:23:12 +0100
commit476b7625421ed1dc4f8cadda28af5356ba3afbf4 (patch)
tree2d838e5ebc55ff5b448ceca2e5a42034882129ec
parenta32f4869de0c28ed01dce789a2a0d5a5a5f18099 (diff)
downloadforums-476b7625421ed1dc4f8cadda28af5356ba3afbf4.tar
forums-476b7625421ed1dc4f8cadda28af5356ba3afbf4.tar.gz
forums-476b7625421ed1dc4f8cadda28af5356ba3afbf4.tar.bz2
forums-476b7625421ed1dc4f8cadda28af5356ba3afbf4.tar.xz
forums-476b7625421ed1dc4f8cadda28af5356ba3afbf4.zip
[ticket/13271] Fix URL Rewriting on IIS7
PHPBB3-13271
-rw-r--r--phpBB/web.config12
1 files changed, 12 insertions, 0 deletions
diff --git a/phpBB/web.config b/phpBB/web.config
index a73c328626..99a1fe6023 100644
--- a/phpBB/web.config
+++ b/phpBB/web.config
@@ -1,6 +1,18 @@
<?xml version="1.0" encoding="UTF-8"?>
<configuration>
<system.webServer>
+ <rewrite>
+ <rules>
+ <rule name="Extension Routes" stopProcessing="true">
+ <match url="^(.*)$" ignoreCase="true" />
+ <conditions>
+ <add input="{REQUEST_FILENAME}" matchType="IsFile" ignoreCase="false" negate="true" />
+ <add input="{REQUEST_FILENAME}" matchType="IsDirectory" ignoreCase="false" negate="true" />
+ </conditions>
+ <action type="Rewrite" url="app.php" appendQueryString="true" />
+ </rule>
+ </rules>
+ </rewrite>
<security>
<requestFiltering>
<hiddenSegments>