On 12:55 10 Sep 2003, Parker Morse <[EMAIL PROTECTED]> wrote: | On Wednesday, Sep 10, 2003, at 12:32 US/Eastern, Reuben D. Budiardja | wrote: | >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.
Did you do a restart after making that change? It's necessary. | 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. _If_ you didn't restart APache after the first change I'd be more inclined to blame the restart here. The output filter stuff should only affect the Content-Encoding, not the Content-Type, AFAIK. Cheers, -- Cameron Simpson <[EMAIL PROTECTED]> DoD#743 http://www.cskk.ezoshosting.com/cs/ I will not be pushed, filed, stamped, indexed, briefed, debriefed or numbered. I am a person. My life is my own. - The Prisoner -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://www.redhat.com/mailman/listinfo/redhat-list