On Wednesday 10 September 2003 11:46 am, Parker Morse wrote:Apache is sending the mime type "application/x-gzip" for them, even though the mime.types file shows "application/vend.ms-excel" for files with an .xls extension.
In your httpd.conf, find the place for AddType, and then you can your own
definition like this:
AddType application/vend.ms-excel .xls
so it defined files with .xls extension to have that Mime type. Then restart
apache.
I tried that, and it didn't appear to have an effect.
While in there, I was reminded that I have mod_deflate installed, and thought that might have something to do with the files becoming x-gzip. So I commented the line "SetOutputFilter DEFLATE" and restarted apache again, and now Excel files are served with the correct type.
It would appear that I need to fine-tune my mod_deflate configuration.
Thanks,
pjm
-- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://www.redhat.com/mailman/listinfo/redhat-list