Skip to content
Snippets Groups Projects
Commit 5f11bdfe authored by Vincent Petry's avatar Vincent Petry
Browse files

Merge pull request #6675 from owncloud/disable-mod_pagespeed

turn off mod_pagespeed
parents a8d20e09 4c93b009
No related branches found
No related tags found
No related merge requests found
......@@ -38,3 +38,6 @@ DirectoryIndex index.php index.html
</IfModule>
AddDefaultCharset utf-8
Options -Indexes
<IfModule pagespeed_module>
ModPagespeed Off
</IfModule>
......@@ -159,6 +159,9 @@ class OC_Setup {
$content.= "</IfModule>\n";
$content.= "AddDefaultCharset utf-8\n";
$content.= "Options -Indexes\n";
$content.= "<IfModule pagespeed_module>\n";
$content.= "ModPagespeed Off\n";
$content.= "</IfModule>\n";
@file_put_contents(OC::$SERVERROOT.'/.htaccess', $content); //supress errors in case we don't have permissions for it
self::protectDataDirectory();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment