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:
parent
01b558c8b4
commit
a849b329a7
|
@ -1,23 +1,23 @@
|
||||||
# Section for Apache 2.4 and 2.5
|
# Section for Apache 2.4 and 2.5
|
||||||
<ifModule mod_authz_core.c>
|
<IfModule mod_authz_core.c>
|
||||||
Require all denied
|
Require all denied
|
||||||
</ifModule>
|
</IfModule>
|
||||||
<ifModule mod_access_compat.c>
|
<IfModule mod_access_compat.c>
|
||||||
Deny from all
|
Deny from all
|
||||||
Satisfy All
|
Satisfy All
|
||||||
</ifModule>
|
</IfModule>
|
||||||
|
|
||||||
# Section for Apache 2.2
|
# Section for Apache 2.2
|
||||||
<ifModule !mod_authz_core.c>
|
<IfModule !mod_authz_core.c>
|
||||||
<ifModule !mod_access_compat.c>
|
<IfModule !mod_access_compat.c>
|
||||||
<ifModule mod_authz_host.c>
|
<IfModule mod_authz_host.c>
|
||||||
Deny from all
|
Deny from all
|
||||||
</ifModule>
|
</IfModule>
|
||||||
Satisfy All
|
Satisfy All
|
||||||
</ifModule>
|
</IfModule>
|
||||||
</ifModule>
|
</IfModule>
|
||||||
|
|
||||||
# Section for Apache 2.2 to 2.5
|
# Section for Apache 2.2 to 2.5
|
||||||
<ifModule mod_autoindex.c>
|
<IfModule mod_autoindex.c>
|
||||||
IndexIgnore *
|
IndexIgnore *
|
||||||
</ifModule>
|
</IfModule>
|
||||||
|
|
Loading…
Reference in New Issue