aboutsummaryrefslogtreecommitdiff
path: root/htaccess_dist
diff options
context:
space:
mode:
authorben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544>2009-02-27 16:37:20 +0000
committerben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544>2009-02-27 16:37:20 +0000
commit85064fbe0ebc019fe2e7f96a2b0fae09f24f2c98 (patch)
tree826a2f61116fe4cba6e05a093888e8b21884ba15 /htaccess_dist
parent32596238a5346d08d57bf04e72d94fbf12e71e8b (diff)
downloadelgg-85064fbe0ebc019fe2e7f96a2b0fae09f24f2c98.tar.gz
elgg-85064fbe0ebc019fe2e7f96a2b0fae09f24f2c98.tar.bz2
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
Diffstat (limited to 'htaccess_dist')
-rw-r--r--htaccess_dist18
1 files changed, 9 insertions, 9 deletions
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
</IfModule>
# Apache2 deflate support if available
-<IfModule mod_deflate.c>
- 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
+#<IfModule mod_deflate.c>
+# 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
-</IfModule>
+#</IfModule>
# Configure ETags
<FilesMatch "\.(jpg|jpeg|gif|png|mp3|flv|mov|avi|3pg|html|htm|swf)$">