aboutsummaryrefslogtreecommitdiff
path: root/htaccess_dist
diff options
context:
space:
mode:
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 a3cd69341..4237460a0 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\.[0678] 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 application/x-javascript
+ BrowserMatch ^Mozilla/4 gzip-only-text/html
+ BrowserMatch ^Mozilla/4\.[0678] no-gzip
+ BrowserMatch \bMSIE !no-gzip
+ 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)$">