Zip Files in Internet Explorer

From TMM Wiki
Jump to navigationJump to search
NATS 4
Members Admin
The Members Admin
View Member Details
Add Member
MySQL Auth
Mod Authn DB
Multisite Access
Member Logging
Member Password Retrieval
OpenID Connect
Mod Auth OpenIDC
ID Numbers
Troubleshooting
Common Errors
Email_Issues
Fix Graphs
Expired License
Zend License
Zip Files in Internet Explorer

If your members are having issues with downloading corrupted .ZIP files from your NATS servers using Internet Explorer, it may be due to an Apache configuration in your server.

To prevent this, you can ask your server host to reconfigure Apache to correctly deliver .ZIP files to your members using Internet Explorer.

mod_deflate

This issue can be caused if you are using the mod_deflate Apache plug-in. This plug-in helps speed up content delivery to your members by compressing the content in order to save bandwidth. However, you should generally restrict mod_deflate to only compress certain file types.

A typical configuration of the mod_deflate plugin would look like this:

SetOutputFilter DEFLATE

DeflateFilterNote ratio

AddOutputFilterByType DEFLATE text/html text/plain text/xml  text/javascript text/css text

/plain

However, this plugin can cause problems when delivering .ZIP files, as they are already compressed. Even if you specify certain file types to compress, it will still attempt to use GZIP compression in order to transfer your file.

no-gzip

To prevent the mod_deflate Apache plugin from unnecessarily compressing your .ZIP files, you can use an environment variable called no-gzip. If you set this variable, mod_deflate will NOT compress the content you are trying to send when an HTTP request is made.

If you are simply using static .ZIP files to be served by Apache, you can use the following basic examples to configure your no-gzip environment variable. For example:

SetEnvIfNoCase Request_URI \.(?:gif|jpe?g|png)$ no-gzip dont-vary

SetEnvIfNoCase Request_URI \.pdf$ no-gzip dont-vary

SetEnvIfNoCase Request_URI \.zip$ no-gzip dont-vary

Once you have configured your no-gzip variable in the mod_deflate plugin, your .zip files should no longer be GZIP compressed when being sent to your members. Furthermore, surfers using Internet Explorer to download your content should no longer have problems with corrupted .zip files.

If this issue remains, please put in a support ticket and our technicians will help you solve your issue.