Cédric Walter | Oct 8, 2020 | 0
Broken download when downloading zip files
A lot of people have tried numerous times to download files from my download section without
success, the error message was always the same
Unrecoverable error "PCLZIP_ERR_BAD_FORMAT (-10)"
Also, Some tried to unpack the zip file locally using stuffit/Winrar/7Zip and get an error suggesting
that the archive is damaged.
Only Internet Explorer users were having issues, this is because of Internet explorer not able to handle
compression of all file types. I solved the issue by changing my mod_deflate.conf which now look like the following:
# Make sure proxies don’t deliver the wrong content
Header append Vary User-Agent env=!dont-vary
server to be served compressed.
mod deflate documentation: http://httpd.apache.org/docs/2.0/mod/mod_deflate.html