aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--phpBB/web.config17
1 files changed, 17 insertions, 0 deletions
diff --git a/phpBB/web.config b/phpBB/web.config
new file mode 100644
index 0000000000..7f2b40ec1b
--- /dev/null
+++ b/phpBB/web.config
@@ -0,0 +1,17 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<configuration>
+ <system.webServer>
+ <rewrite>
+ <rules>
+ <rule name="phpBB config.php Rule" patternSyntax="Wildcard" stopProcessing="true">
+ <match url="*config.php" />
+ <action type="AbortRequest" />
+ </rule>
+ <rule name="phpBB common.php Rule" patternSyntax="Wildcard" stopProcessing="true">
+ <match url="*common.php" />
+ <action type="AbortRequest" />
+ </rule>
+ </rules>
+ </rewrite>
+ </system.webServer>
+</configuration>