From a849b329a74186d2b2ff79af4b14fa511d010802 Mon Sep 17 00:00:00 2001
From: MichaIng <28480705+MichaIng@users.noreply.github.com>
Date: Mon, 19 Aug 2019 15:40:00 +0200
Subject: [PATCH] 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>
---
 config/.htaccess | 24 ++++++++++++------------
 1 file 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>
-- 
GitLab