Question
When someone attaches an Microsoft Word or Excel file (Office 2007), TWiki does not recognize the file type. Our company is transitioning between Office 2003 and 2007, so not everyone has migrated over and it's causing problems trying to open the attachments. When clicking on the link to the attachment, TWiki tries to open it with
WinZip. File extension of Word is .docx and Excel is .xlsx. Older versions of Word and Excel have no problems. The workaround is that we have to save the file as an Office 97/2003 document, but not everyone remembers to do that, unless they tested the attachment. BTW, the Office 2007 users can't open the files either. Is there a way to associate the .docx and .xlsx files to Microsoft Word and Excel respectively. I have not tried Powerpoint yet, but I'll bet we will have the same problem.
Environment
--
ZenaFong - 21 May 2008
Answer
If you answer a question - or someone answered one of your questions - please remember to edit the page and set the status to answered. The status selector is below the edit box.
I don't have Office 2007, so I can't be sure. But I suspect it isn't (exactly) TWiki that's the problem but the Apache server:
/apache/conf/mime.types may need to be changed to send the right header. See
http://forums.oracle.com/forums/thread.jspa?messageID=2359916
If after that your workstation still tries to open them with WinZIP, then you probably need to change the file association on the workstation.
--
SeanCMorgan - 22 May 2008
Thanks Sean - I found the mime.types file after posting this question and added the .docx, xlsx and pptx extensions for Word, Excel and Powerpoint. The good news is that it does now recognize the filetypes on a system with Office 2007. The bad news is that on a system with IE 6 and Office 2003, I get different results with Word, Excel and Powerpoint. If anyone else has any other suggestions, please post them!
Thanks!
--
ZenaFong - 22 May 2008
You're definitely out the TWiki arena now, so you might have better luck asking in a Microsoft forum, or checking their web resources.
--
SeanCMorgan - 26 May 2008
Closing this after more than 30 days of inactivity. Please feel free to re-open if needed.
--
PeterThoeny - 02 Aug 2008