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:
parent
cdd9ecdd68
commit
9ac7c492ed
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…
x
Reference in New Issue
Block a user