aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--htaccess_dist22
1 files changed, 11 insertions, 11 deletions
diff --git a/htaccess_dist b/htaccess_dist
index b9da2aef0..73bf0f50a 100644
--- a/htaccess_dist
+++ b/htaccess_dist
@@ -57,17 +57,17 @@ ExpiresDefault "access plus 10 years"
# Turn on mod_gzip if available
<IfModule mod_gzip.c>
mod_gzip_on yes
- mod_gzip_dechunk yes
- mod_gzip_keep_workfiles No
- mod_gzip_minimum_file_size 1000
- mod_gzip_maximum_file_size 1000000
- mod_gzip_maximum_inmem_size 1000000
- mod_gzip_item_include mime ^text/.*
- mod_gzip_item_include mime ^application/javascript
- mod_gzip_item_include mime ^httpd/unix-directory$
- # Exclude old browsers and images since IE has trouble with this
- mod_gzip_item_exclude reqheader "User-Agent: .*Mozilla/4\..*\["
- mod_gzip_item_exclude mime ^image/.*
+ mod_gzip_dechunk yes
+ mod_gzip_keep_workfiles No
+ mod_gzip_minimum_file_size 1000
+ mod_gzip_maximum_file_size 1000000
+ mod_gzip_maximum_inmem_size 1000000
+ mod_gzip_item_include mime ^text/.*
+ mod_gzip_item_include mime ^application/javascript$
+ mod_gzip_item_include mime ^application/x-javascript$
+ # Exclude old browsers and images since IE has trouble with this
+ mod_gzip_item_exclude reqheader "User-Agent: .*Mozilla/4\..*\["
+ mod_gzip_item_exclude mime ^image/.*
</IfModule>
# Apache2 deflate support if available