Use syntax with cases according to official docs

+ Ref: https://github.com/nextcloud/server/pull/16792/files#r315207691

Signed-off-by: Micha Felle <micha@dietpi.com>
This commit is contained in:
MichaIng 2019-08-19 15:40:00 +02:00 committed by GitHub
parent 01b558c8b4
commit a849b329a7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 12 additions and 12 deletions

View File

@ -1,23 +1,23 @@
# Section for Apache 2.4 and 2.5
<ifModule mod_authz_core.c>
<IfModule mod_authz_core.c>
Require all denied
</ifModule>
<ifModule mod_access_compat.c>
</IfModule>
<IfModule mod_access_compat.c>
Deny from all
Satisfy All
</ifModule>
</IfModule>
# Section for Apache 2.2
<ifModule !mod_authz_core.c>
<ifModule !mod_access_compat.c>
<ifModule mod_authz_host.c>
<IfModule !mod_authz_core.c>
<IfModule !mod_access_compat.c>
<IfModule mod_authz_host.c>
Deny from all
</ifModule>
</IfModule>
Satisfy All
</ifModule>
</ifModule>
</IfModule>
</IfModule>
# Section for Apache 2.2 to 2.5
<ifModule mod_autoindex.c>
<IfModule mod_autoindex.c>
IndexIgnore *
</ifModule>
</IfModule>