mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-14 21:56:39 +02:00
[ticket/9520] Add some default web.config files for IIS.
These deny access to the various directories written to by phpBB. PHPBB3-9520
This commit is contained in:
committed by
Nils Adermann
parent
43774ef423
commit
cdd9ecdd68
13
phpBB/cache/web.config
vendored
Normal file
13
phpBB/cache/web.config
vendored
Normal file
@ -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>
|
13
phpBB/files/web.config
Normal file
13
phpBB/files/web.config
Normal file
@ -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>
|
13
phpBB/images/avatars/upload/web.config
Normal file
13
phpBB/images/avatars/upload/web.config
Normal file
@ -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>
|
13
phpBB/store/web.config
Normal file
13
phpBB/store/web.config
Normal file
@ -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>
|
Reference in New Issue
Block a user