summaryrefslogtreecommitdiffstats
path: root/config/.htaccess
blob: 192cdd2aa93070e68797bd7f9ef479427235a300 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# Section for Apache 2.4 and 2.5
<ifModule mod_authz_core.c>
  Require all denied
</ifModule>
<ifModule mod_access_compat.c>
  Deny from all
  Satisfy All
</ifModule>

# Section for Apache 2.2
<ifModule !mod_authz_core.c>
  <ifModule !mod_access_compat.c>
    <ifModule mod_authz_host.c>
      Deny from all
    </ifModule>
    Satisfy All
  </ifModule>
</ifModule>

# Section for Apache 2.2 to 2.5
<ifModule mod_autoindex.c>
  IndexIgnore *
</ifModule>