1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-04-20 07:42:09 +02:00

[ticket/9520] Add suggested web.config for root files as suggested by Microsoft.

PHPBB3-9520
This commit is contained in:
Chris Smith 2010-04-15 23:12:14 +01:00 committed by Nils Adermann
parent cdd9ecdd68
commit 9ac7c492ed

17
phpBB/web.config Normal file
View File

@ -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>