When trying to download file with.EXE extension in the site, the files are coming as .GZ Environment Centos 7 64 Apache 2.4.6
Changing the file in /etc/httpd/conf/httpd.conf I have already tried using each of these forms below, however, to no avail (I restarted apache and deleted the browser cache on each attempt):
1:
SetEnvIfNoCase Request_URI \.exe$ no-gzip dont-vary
2:
<FilesMatch \.exe$>
SetEnv no-gzip 1
</FilesMatch>
3:
SetEnv mod_deflate off
4:
SetEnv no-gzip off
5:
In the file /etc/httpd/conf.modules.d/00-base.conf
I commented:
LoadModule deflate_module modules/mod_deflate.so
6: I tried to delete the file, but it did not work.
/usr/lib64/httpd/modules/mod_deflate.so