-
Notifications
You must be signed in to change notification settings - Fork 8
Expand file tree
/
Copy pathweb.config
More file actions
25 lines (24 loc) · 706 Bytes
/
web.config
File metadata and controls
25 lines (24 loc) · 706 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
<?xml version="1.0" encoding="UTF-8"?>
<configuration>
<system.webServer>
<security>
<requestFiltering>
<hiddenSegments>
<!--
This seems a rather nasty thing, but it turns out that
IIS can't handle setting a rule on the same file twice,
hence we first remove the rules we know for sure that
they are set by phpBB and than reset those statements
for the Support Toolkit.
Bug: #62679
-->
<remove segment="config.php" />
<remove segment="common.php" />
<!-- STK rules -->
<add segment="config.php" />
<add segment="common.php" />
</hiddenSegments>
</requestFiltering>
</security>
</system.webServer>
</configuration>