This seems to be an old problem: Users retrieving docx files from apache are receiving them with a Content-Type header which claims they're zip archives.
After a good deal of searching for solutions I have:
AddType application/vnd.openxmlformats-officedocument.wordprocessingml.document docxto my
mod_mimeconfig, as suggested in one of the top answers to Why are docx, xlsx, pptx downloading from webserver as zip files?
application/vnd.openxmlformats-officedocument.wordprocessingml.document docx(I didn't add it, it was already there), as suggested by the other top answer to that question
Added multiple directives to
/etc/magic, which have had the net effect that
filenow recognizes docx correctly instead of calling it "Zip archive data, at least v2.0 to extract"
Despite all these things, apache continues to send docx files with a
Content-Type: application/zip; charset=UTF-8 header.
The running apache is version
Apache/2.2.16 (Debian) under Debian squeeze.
What else might I need to do to get docx to be sent with the correct Content-Type?