Brandon D
Aug 18 2008, 02:09 AM
Teachers are uploading Office Word 2007 .docx files to their websites, but whenever someone clicks to download it, the save prompt shows it as a .zip file (in FF it shows it as .docx, like it should be). If I download the "zip" and change the extension from .zip back to .docx, it works.
Any ideas?
atomicknight
Aug 18 2008, 02:18 AM
Google?
http://www.webdeveloper.com/forum/showthread.php?t=162526That's pretty interesting though. It's like how Firefox add-ons are really just ZIP files with a different extension.
Brandon D
Aug 18 2008, 02:27 AM
Yeah, I'll admit I didn't think about using Google until after I posted that, I really don't know why as I'll usually hunt for stuff on Google long before I post about it
BASHERS33
Aug 18 2008, 03:55 PM
I usually will search for things, but after so many times of nothing but crap results unrelated to my searches, I pretty much go in assuming I won't find too good of an answer form searching anymore.
atomicknight
Aug 18 2008, 04:15 PM
Well, to be fair, you sometimes need to know a bit more than what your problem is to be able to find something. I actually searched for docx mime zip to find that result, and it just so happens that that yields the most helpful result first.
Brandon D
Aug 18 2008, 04:26 PM
After I posted this, my first search was along the lines of "docx changes zip", where I learned that it could be caused by missing mime type definitions. I then searched for "office 2007 mime types apache server" and found my solution at
SystemBash.
It's a one liner and easier than the one Atomic posted, if anyone is interested.
BASHERS33
Aug 18 2008, 05:11 PM
It has bash in the title so not surprising it was a helpful entity.