Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorMichaIng <28480705+MichaIng@users.noreply.github.com>2019-08-19 16:40:00 +0300
committerGitHub <noreply@github.com>2019-08-19 16:40:00 +0300
commita849b329a74186d2b2ff79af4b14fa511d010802 (patch)
tree7a7349d66d88ef701e95ac70677db9789eba1d46 /config
parent01b558c8b4998733358dc1181fb9dc7084fdce2d (diff)
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>
Diffstat (limited to 'config')
-rw-r--r--config/.htaccess24
1 files changed, 12 insertions, 12 deletions
diff --git a/config/.htaccess b/config/.htaccess
index 192cdd2aa93..857df9bbbac 100644
--- a/config/.htaccess
+++ b/config/.htaccess
@@ -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>