Help - Search - Members - Calendar
Full Version: IE7 changing file extension?
Invision Power Services > Community Forums > Community Web Design and Coding
Brandon D
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
Google?

http://www.webdeveloper.com/forum/showthread.php?t=162526

That's pretty interesting though. It's like how Firefox add-ons are really just ZIP files with a different extension.
Brandon D
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 tongue.gif
BASHERS33
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. original.gif
atomicknight
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
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
It has bash in the title so not surprising it was a helpful entity.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2008 Invision Power Services, Inc.