Skip to content

Commit

Permalink
[ticket/9520] Add suggested web.config for root files as suggested by…
Browse files Browse the repository at this point in the history
… Microsoft.

PHPBB3-9520
  • Loading branch information
cs278 authored and naderman committed May 3, 2010
1 parent cdd9ecd commit 9ac7c49
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions 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>

0 comments on commit 9ac7c49

Please sign in to comment.