-
Notifications
You must be signed in to change notification settings - Fork 12
/
.htaccess
executable file
·59 lines (59 loc) · 1.17 KB
/
.htaccess
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
# Protect server configuration
# "Order, Deny"-syntax inherited from PHPBB3
# Works with Apache 2.4 and earlier
<IfModule mod_version.c>
<IfVersion < 2.4>
<Files "server.conf">
Order Allow,Deny
Deny from All
</Files>
<Files "webStatsConfig.xml">
Order Allow,Deny
Deny from All
</Files>
<Files "onlineUser.conf">
Order Allow,Deny
Deny from All
</Files>
</IfVersion>
<IfVersion >= 2.4>
<Files "server.conf">
Require all denied
</Files>
<Files "webStatsConfig.xml">
Require all denied
</Files>
<Files "onlineUser.conf">
Require all denied
</Files>
</IfVersion>
</IfModule>
<IfModule !mod_version.c>
<IfModule !mod_authz_core.c>
<Files "server.conf">
Order Allow,Deny
Deny from All
</Files>
<Files "webStatsConfig.xml">
Order Allow,Deny
Deny from All
</Files>
<Files "onlineUser.conf">
Order Allow,Deny
Deny from All
</Files>
</IfModule>
<IfModule mod_authz_core.c>
<Files "server.conf">
Require all denied
</Files>
<Files "webStatsConfig.xml">
Require all denied
</Files>
<Files "onlineUser.conf">
Require all denied
</Files>
</IfModule>
</IfModule>
# Prevent directory listing
Options -Indexes