support for apache 2.4

This commit is contained in:
Uwe Steinmann 2019-07-30 06:38:54 +02:00
parent 90baea95f0
commit 88a607ccd3

View File

@ -1,2 +1,15 @@
Order allow,deny
Deny from all
# line below if for Apache 2.4
<ifModule mod_authz_core.c>
Require all denied
</ifModule>
# line below if for Apache 2.2
<ifModule !mod_authz_core.c>
deny from all
Satisfy All
</ifModule>
# section for Apache 2.2 and 2.4
<ifModule mod_autoindex.c>
IndexIgnore *
</ifModule>