diff options
Diffstat (limited to 'htaccess_dist')
-rw-r--r-- | htaccess_dist | 12 |
1 files changed, 3 insertions, 9 deletions
diff --git a/htaccess_dist b/htaccess_dist index cc4697082..b9da2aef0 100644 --- a/htaccess_dist +++ b/htaccess_dist @@ -59,21 +59,15 @@ ExpiresDefault "access plus 10 years" mod_gzip_on yes
mod_gzip_dechunk yes
mod_gzip_keep_workfiles No
- mod_gzip_temp_dir /tmp
mod_gzip_minimum_file_size 1000
mod_gzip_maximum_file_size 1000000
mod_gzip_maximum_inmem_size 1000000
- mod_gzip_item_include file \.htm$
- mod_gzip_item_include file \.html$
- mod_gzip_item_include file \.php$
mod_gzip_item_include mime ^text/.*
- mod_gzip_item_include mime ^application/x-httpd-php
+ mod_gzip_item_include mime ^application/javascript
mod_gzip_item_include mime ^httpd/unix-directory$
- mod_gzip_item_exclude file "\.css$"
- mod_gzip_item_exclude file "\.js$"
- mod_gzip_item_exclude file "\.wml$"
+ # 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/.gif
+ mod_gzip_item_exclude mime ^image/.*
</IfModule>
# Apache2 deflate support if available
|