unlcms / UNL-CMS

Drupal 7 implementation at the University of Nebraska–Lincoln
http://unlcms.unl.edu/
GNU General Public License v2.0
4 stars 13 forks source link

[#1036] .docx downloading as .zip in Internet Explorer #271

Closed tsteiner closed 11 years ago

tsteiner commented 11 years ago

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

I don't recall what was done on Frontier. I don't know if we want this added to the .htaccess inside the project or in an apache config with neospire's help.

Here's what I've added to an .htaccess file in the past:

AddType application/vnd.ms-word.document.macroEnabled.12 docm AddType application/vnd.openxmlformats-officedocument.wordprocessingml.document docx AddType application/vnd.ms-word.template.macroEnabled.12 dotm 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 AddType application/vnd.ms-xpsdocument xps AddType application/vnd.oasis.opendocument.text odt AddType application/vnd.oasis.opendocument.text-template ott AddType application/vnd.oasis.opendocument.graphics odg AddType application/vnd.oasis.opendocument.graphics-template otg AddType application/vnd.oasis.opendocument.presentation odp AddType application/vnd.oasis.opendocument.presentation-template otp AddType application/vnd.oasis.opendocument.spreadsheet ods AddType application/vnd.oasis.opendocument.spreadsheet-template ots AddType application/vnd.oasis.opendocument.chart odc AddType application/vnd.oasis.opendocument.chart-template otc AddType application/vnd.oasis.opendocument.image odi AddType application/vnd.oasis.opendocument.image-template oti AddType application/vnd.oasis.opendocument.formula odf AddType application/vnd.oasis.opendocument.formula-template otf AddType application/vnd.oasis.opendocument.text-master odm AddType application/vnd.oasis.opendocument.text-web oth

URL: http://

Originally submitted by: Eric Rasmussen

tsteiner commented 11 years ago

Submitted By: Timothy Steiner Adddate: 2011-11-28 12:16:02 Sounds like /etc/mime.types needs to be updated on the servers.

tsteiner commented 11 years ago

Submitted By: Eric Rasmussen Adddate: 2012-02-01 16:42:49 Submitted to NS: https://control.neospire.net/tickets.editTicket?ticketNum=241191

I thought about just throwing this in .htaccess but it's probably better to have it in mime.types

tsteiner commented 11 years ago

Submitted By: Eric Rasmussen Adddate: 2012-02-02 10:20:25 NS has modified /etc/mime.types, closing.