-
-
Notifications
You must be signed in to change notification settings - Fork 15
/
web.config
69 lines (69 loc) · 1.77 KB
/
web.config
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
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
<?xml version="1.0" encoding="UTF-8"?>
<configuration>
<system.webServer>
<rewrite>
<rules>
<rule name="Extension Routes" stopProcessing="true">
<match url="^(.*)$" ignoreCase="true" />
<conditions>
<add input="{REQUEST_FILENAME}" matchType="IsFile" ignoreCase="false" negate="true" />
<add input="{REQUEST_FILENAME}" matchType="IsDirectory" ignoreCase="false" negate="true" />
</conditions>
<action type="Rewrite" url="app.php" appendQueryString="true" />
</rule>
</rules>
</rewrite>
<security>
<requestFiltering>
<hiddenSegments>
<add segment="cache" />
<add segment="files" />
<add segment="includes" />
<add segment="phpbb" />
<add segment="store" />
<add segment="vendor" />
<add segment="config.php" />
<add segment="common.php" />
</hiddenSegments>
</requestFiltering>
</security>
</system.webServer>
<location path="config">
<system.webServer>
<security>
<requestFiltering>
<hiddenSegments>
<add segment="default" />
<add segment="development" />
<add segment="installer" />
<add segment="production" />
<add segment="test" />
<add segment=".htaccess" />
</hiddenSegments>
</requestFiltering>
</security>
</system.webServer>
</location>
<location path="ext">
<system.webServer>
<security>
<requestFiltering>
<hiddenSegments>
<remove segment="phpbb" />
</hiddenSegments>
</requestFiltering>
</security>
</system.webServer>
</location>
<location path="images/avatars">
<system.webServer>
<security>
<requestFiltering>
<hiddenSegments>
<add segment="upload" />
</hiddenSegments>
</requestFiltering>
</security>
</system.webServer>
</location>
</configuration>