downloading from where?
I've been looking for a simple workaround by keeping the file as .docx but havent found one.
Teacher adds a Word 2007 .docx file for his Word 2007 class and when students try to download it, it saves as a zip file.
Is there a workaround for this? (without using firefox)
downloading from where?
Email, as a guess. What email system are you using? We are finding this with Squirrelmail, but if the download link is used it tends to work. Not sure with Outlook etc though.
It seems as if IIS / Apache does not understand this format, is scanning the document, and due to the file format change, interpreting the document as a zip file.
1. Get to the Internet Management snap-in any way you like
2. Right click “Web Sites” and select “Properties” to modify the global behavior, or any specific website to edit just that one
3. Select “HTTP Headers”
4. Select “Mime Types”
5. Enter a new extension (no leading period is required) and the appropriate mime type. Repeat as needed for each extension.
6. Click “OK” to close all the dialogs
Extension MIME Type
For Apache place in .htaccess
AddType application/vnd.ms-word.document.macroEnabled.12 .docm
AddType application/vnd.openxmlformats-officedocument.wordprocessingml.document docx
AddType application/vnd.openxmlformats-officedocument.wordprocessingml.template dotx
AddType application/vnd.ms-powerpoint.template.macroEnabled.12 potm
AddType application/vnd.openxmlformats-officedocument.presentationml.template potx
AddType application/vnd.ms-powerpoint.addin.macroEnabled.12 ppam
AddType application/vnd.ms-powerpoint.slideshow.macroEnabled.12 ppsm
AddType application/vnd.openxmlformats-officedocument.presentationml.slideshow ppsx
AddType application/vnd.ms-powerpoint.presentation.macroEnabled.12 pptm
AddType application/vnd.openxmlformats-officedocument.presentationml.presentation pptx
AddType application/vnd.ms-excel.addin.macroEnabled.12 xlam
AddType application/vnd.ms-excel.sheet.binary.macroEnabled.12 xlsb
AddType application/vnd.ms-excel.sheet.macroEnabled.12 xlsm
AddType application/vnd.openxmlformats-officedocument.spreadsheetml.sheet xlsx
AddType application/vnd.ms-excel.template.macroEnabled.12 xltm
AddType application/vnd.openxmlformats-officedocument.spreadsheetml.template xltx
Last edited by somabc; 22nd September 2009 at 05:48 PM.
We had the same problem when attatching docx files and emailing them through the county email system ... the problem was that the exchange server didnt recognise docx files went down the list and ended up with the last one IE zip ... so sent them as zip files ... try opening them as a zip and you get rubbish
The answer was to simply rename the recieved file with a docx extension and the file was back in shape ...
so for example ... test.zip rename test.docx
Hope this helps
Cheers for now
Silicon Keyboards with lower case letters
The easiest/simplest solution around this is to download Ork Tools for Office 2007. You can then specify the default Save As format and specify .doc.
Looks like the 'real world' solution right now is to just change the extension of the file.
I would suggest to the teacher/students to save all files as .doc, however I fear they may lose some kind of formatting in doing so.
@brpilot: A docx is really a zip file (yes, you can decompress it yourself) so it wasn't just the last in the list, your webserver was actually being intelligent
There are currently 1 users browsing this thread. (0 members and 1 guests)