aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--phpBB/cache/web.config13
-rw-r--r--phpBB/files/web.config13
-rw-r--r--phpBB/images/avatars/upload/web.config13
-rw-r--r--phpBB/store/web.config13
4 files changed, 52 insertions, 0 deletions
diff --git a/phpBB/cache/web.config b/phpBB/cache/web.config
new file mode 100644
index 0000000000..278494bafc
--- /dev/null
+++ b/phpBB/cache/web.config
@@ -0,0 +1,13 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<configuration>
+ <system.webServer>
+ <rewrite>
+ <rules>
+ <rule name="phpBB Default Rule" stopProcessing="true">
+ <match url=".*" />
+ <action type="CustomResponse" statusCode="403" statusReason="Forbidden: Access is denied." statusDescription="You do not have permission to view this directory or page." />
+ </rule>
+ </rules>
+ </rewrite>
+ </system.webServer>
+</configuration> \ No newline at end of file
diff --git a/phpBB/files/web.config b/phpBB/files/web.config
new file mode 100644
index 0000000000..278494bafc
--- /dev/null
+++ b/phpBB/files/web.config
@@ -0,0 +1,13 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<configuration>
+ <system.webServer>
+ <rewrite>
+ <rules>
+ <rule name="phpBB Default Rule" stopProcessing="true">
+ <match url=".*" />
+ <action type="CustomResponse" statusCode="403" statusReason="Forbidden: Access is denied." statusDescription="You do not have permission to view this directory or page." />
+ </rule>
+ </rules>
+ </rewrite>
+ </system.webServer>
+</configuration> \ No newline at end of file
diff --git a/phpBB/images/avatars/upload/web.config b/phpBB/images/avatars/upload/web.config
new file mode 100644
index 0000000000..278494bafc
--- /dev/null
+++ b/phpBB/images/avatars/upload/web.config
@@ -0,0 +1,13 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<configuration>
+ <system.webServer>
+ <rewrite>
+ <rules>
+ <rule name="phpBB Default Rule" stopProcessing="true">
+ <match url=".*" />
+ <action type="CustomResponse" statusCode="403" statusReason="Forbidden: Access is denied." statusDescription="You do not have permission to view this directory or page." />
+ </rule>
+ </rules>
+ </rewrite>
+ </system.webServer>
+</configuration> \ No newline at end of file
diff --git a/phpBB/store/web.config b/phpBB/store/web.config
new file mode 100644
index 0000000000..278494bafc
--- /dev/null
+++ b/phpBB/store/web.config
@@ -0,0 +1,13 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<configuration>
+ <system.webServer>
+ <rewrite>
+ <rules>
+ <rule name="phpBB Default Rule" stopProcessing="true">
+ <match url=".*" />
+ <action type="CustomResponse" statusCode="403" statusReason="Forbidden: Access is denied." statusDescription="You do not have permission to view this directory or page." />
+ </rule>
+ </rules>
+ </rewrite>
+ </system.webServer>
+</configuration> \ No newline at end of file