]> source.dussan.org Git - nextcloud-server.git/commitdiff
Reference module with `.c`
authorLukas Reschke <lukas@owncloud.com>
Wed, 28 Jan 2015 11:42:15 +0000 (12:42 +0100)
committerLukas Reschke <lukas@owncloud.com>
Wed, 28 Jan 2015 12:15:32 +0000 (13:15 +0100)
Fixes https://github.com/owncloud/core/issues/13657

.htaccess
config/.htaccess
lib/private/setup.php

index 962e969d59c8c9eb8d69f8cc4a6e8007ff5d4285..78e6255c8782544a59644d066e5602b7f7a17af5 100644 (file)
--- a/.htaccess
+++ b/.htaccess
@@ -13,7 +13,7 @@ php_value post_max_size 513M
 php_value memory_limit 512M
 php_value mbstring.func_overload 0
 php_value always_populate_raw_post_data -1
-<IfModule env_module>
+<IfModule mod_env.c>
   SetEnv htaccessWorking true
 </IfModule>
 </IfModule>
@@ -34,7 +34,7 @@ RewriteRule ^(\.|autotest|occ|issue|indie|db_|console).* - [R=404,L]
 AddType image/svg+xml svg svgz
 AddEncoding gzip svgz
 </IfModule>
-<IfModule dir_module>
+<IfModule mod_dir.c>
 DirectoryIndex index.php index.html
 </IfModule>
 AddDefaultCharset utf-8
index 2421e9a16311e41d0f5f48d931a25e6af360fda6..c7a7b79feac0a42617fa026290f1047cfcf44943 100644 (file)
@@ -1,10 +1,10 @@
 # line below if for Apache 2.4
-<ifModule mod_authz_core>
+<ifModule mod_authz_core.c>
 Require all denied
 </ifModule>
 
 # line below if for Apache 2.2
-<ifModule !mod_authz_core>
+<ifModule !mod_authz_core.c>
 deny from all
 </ifModule>
 
index a350838763fb464c68f2b1af28ab4217f2f9da61..e3a29b6469d03739282c469064ce96df4524187e 100644 (file)
@@ -287,11 +287,11 @@ class OC_Setup {
                $now =  date('Y-m-d H:i:s');
                $content = "# Generated by ownCloud on $now\n";
                $content.= "# line below if for Apache 2.4\n";
-               $content.= "<ifModule mod_authz_core>\n";
+               $content.= "<ifModule mod_authz_core.c>\n";
                $content.= "Require all denied\n";
                $content.= "</ifModule>\n\n";
                $content.= "# line below if for Apache 2.2\n";
-               $content.= "<ifModule !mod_authz_core>\n";
+               $content.= "<ifModule !mod_authz_core.c>\n";
                $content.= "deny from all\n";
                $content.= "</ifModule>\n\n";
                $content.= "# section for Apache 2.2 and 2.4\n";