mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-10 13:28:55 +00:00
[ticket/9520] Add suggested web.config for root files as suggested by Microsoft.
PHPBB3-9520
This commit is contained in:
parent
cdd9ecdd68
commit
9ac7c492ed
1 changed files with 17 additions and 0 deletions
17
phpBB/web.config
Normal file
17
phpBB/web.config
Normal 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>
|
Loading…
Add table
Reference in a new issue