Disable gzip compression for zip files

Bug #220171 reported by Florian Hackenberger
4
Affects Status Importance Assigned to Milestone
apache (Ubuntu)
Fix Released
Wishlist
Unassigned

Bug Description

Binary package hint: apache

According to [1],[2] and [3], we have to apply a workaround to our apache configuration to enable users of IE to download zip files from our webserver. We added '|zip' to the following line in '/etc/apache2/sites-available/default' and 'default-ssl':

SetEnvIfNoCase REQUEST_URI .(?:gif|jp?g|png|zip)$ no-gzip dont-vary

Although this is certainly not a bug in apache, Ubuntu should include this workaround in the default configuration.

Cheers, Florian

[1]http://support.microsoft.com/default.aspx?scid=kb;[LN];Q312496
[2]http://publib.boulder.ibm.com/httpserv/ihsdiag/deflate_diag.html
[3]http://www.buberel.org/serendipity/index.php?/archives/258-HOWTO-Configure-apache-to-correctly-serve-Zip-files-to-Internet-Explorer.html

description: updated
Revision history for this message
Florian Hackenberger (f-hackenberger) wrote :

This bug seems to apply to firefox as well. Downloading tar.gz files results in corrupt archives as long as compression is enabled.

SetEnvIfNoCase REQUEST_URI .(?:gif|jp?g|png|zip|tar.gz)$ no-gzip dont-vary

fixes the problem.

Daniel T Chen (crimsun)
Changed in apache:
importance: Undecided → Wishlist
Revision history for this message
Thomas Hotz (thotz-deactivatedaccount) wrote :

Is this still an issue for you? What Ubuntu version do you use? Thank you for telling us!

Changed in apache (Ubuntu):
status: New → Incomplete
Revision history for this message
Florian Hackenberger (f-hackenberger) wrote :

Not anymore, thanks!

Changed in apache (Ubuntu):
status: Incomplete → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.