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>
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
# 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>
$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";