From 85064fbe0ebc019fe2e7f96a2b0fae09f24f2c98 Mon Sep 17 00:00:00 2001 From: ben Date: Fri, 27 Feb 2009 16:37:20 +0000 Subject: Deflation is now turned off by default because a version of a certain majority-share browser really doesn't like it. git-svn-id: https://code.elgg.org/elgg/trunk@2985 36083f99-b078-4883-b0ff-0f9b5a30f544 --- htaccess_dist | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'htaccess_dist') diff --git a/htaccess_dist b/htaccess_dist index 100d635d7..3bb15396e 100644 --- a/htaccess_dist +++ b/htaccess_dist @@ -73,20 +73,20 @@ DirectoryIndex index.php # Apache2 deflate support if available - - AddOutputFilterByType DEFLATE text/html text/plain text/xml text/css text/javascript application/javascript - BrowserMatch ^Mozilla/4 gzip-only-text/html - BrowserMatch ^Mozilla/4\.0[678] no-gzip - BrowserMatch \bMSIE !no-gzip !gzip-only-text/html - Header append Vary User-Agent env=!dont-vary +# +# AddOutputFilterByType DEFLATE text/html text/plain text/xml text/css text/javascript application/javascript +# BrowserMatch ^Mozilla/4 gzip-only-text/html +# BrowserMatch ^Mozilla/4\.0[678] no-gzip +# BrowserMatch \bMSIE !no-gzip !gzip-only-text/html +# Header append Vary User-Agent env=!dont-vary # The following is to disable compression for actions. The reason being is that these # may offer direct downloads which (since the initial request comes in as text/html and headers # get changed in the script) get double compressed and become unusable when downloaded by IE. - SetEnvIfNoCase Request_URI action\/* no-gzip dont-vary - SetEnvIfNoCase Request_URI actions\/* no-gzip dont-vary +# SetEnvIfNoCase Request_URI action\/* no-gzip dont-vary +# SetEnvIfNoCase Request_URI actions\/* no-gzip dont-vary - +# # Configure ETags -- cgit v1.2.3