Gemini Community Support Site

This Gemini community support site can be used to find solutions to product issues. You can log in using Open Id, Google Profile and even Facebook. Feel free to ask a question or browse FAQs and documentation. Product tour videos are also available along with how-to videos demonstrating key Gemini capabilities.




MIME types handled wrong

admin
web-app

Hi all,

I have this issue on Win 2008 R2 / IIS 7.5

When I try to open an Attachment (.docx) it opens correctly in Word 2010 using IE9, FF9, Chrome. When using FF8 or Opera 11 it opens as XML (FF) or as RAR (Opera). On IIS the configuration is correct (default), for .docx MIME type is set to 'application/vnd.openxmlformats-officedocument.wordprocessingml.document'.

For testing I set it to 'application/x-zip-compressed', to force the browser to open it like a zip. No effect. IE9 and FF9 still open with Word.

Do you have any suggestion how to fix this?

thx in advance

dawolf
· 1
dawolf
Replies (4)
helpful
0
not helpful

Short update, a colleague of mine investigated in the same direction. To us now it looks like Gemini itself is serving the request but not the IIS. Is that correct? How can we make Gemini serve .docx (and other similar formats) correctly?


dawolf
· 1
dawolf
helpful
0
not helpful

Seems like an issue with FF 8 or Opera 11 as the other versions work fine. Can you try it on our site: http://gemini.countersoft.com


Mark Wing
· 9108
Mark Wing
helpful
0
not helpful

It is the same on your site. I uploaded a dummy docx on: http://gemini.countersoft.com/issue/ViewIssue.aspx?id=4903&PROJID=3

Same result: Opera opens it as zipped file, while FF9 and IE9 recognize it as Word file.

We compared what Gemini is sending in the Header as Content-Type, to what other Web Apps (e.g. Trac) are sending. Gemini sends nothing, while others send: application/octet-stream; charset=iso-8859-15 or even the proper variant: application/vnd.openxmlformats-officedocument.wordprocessingml.document

So, afaik, when browser dont receive a Content-Type they start kind of educated guessing. This would explain why it opens as zipped for or as xml document. As docx is not much more but compressed xml files.

Is it possible to change this, to make Gemini send the proper Content-Type?


dawolf
· 1
dawolf
helpful
0
not helpful
ANSWER

Mark Wing
· 9108
Mark Wing