aboutsummaryrefslogtreecommitdiff
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 /phpBB/web.config
parentMerge remote-tracking branch 'brunoais/ticket/13719' into 3.1.x (diff)
downloadphpbb-476b7625421ed1dc4f8cadda28af5356ba3afbf4.tar.gz
phpbb-476b7625421ed1dc4f8cadda28af5356ba3afbf4.tar.bz2
phpbb-476b7625421ed1dc4f8cadda28af5356ba3afbf4.zip
[ticket/13271] Fix URL Rewriting on IIS7
PHPBB3-13271
Diffstat (limited to 'phpBB/web.config')
-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>