启用Domino Web Server对Office2007文件下载支持

问题描述:邮件中的附件是Office2007格式,单击文件名时,弹出的另存为页面,将附件自动存为了zip格式,而且解压后不是正确的Office2007文件格式。

原因:因为Microsoft Office 2007 MIME格式未列在Domino Web Server metabase(httpd.cnf)中,所以导致请求一个Microsoft Office2007文件时,被当作未知类型的请求处理。此时服务器会使用“Application/octet-stream”内容作为返回来替代Office 2007 MIME类型。

受影响版本:6.x,7.x,8.0.x,8.5,8.5.1

解决办法:修改httpd.cnf,在文件后添加以下:

01#
02# Microsoft Office 2007 formats
03#
04AddType .docx application/vnd.openxmlformats-officedocument.wordprocessingml.document
05AddType .dotx application/vnd.openxmlformats-officedocument.wordprocessingml.template
06AddType .xlsx application/vnd.openxmlformats-officedocument.spreadsheetml.sheet
07AddType .xltx application/vnd.openxmlformats-officedocument.spreadsheetml.template
08AddType .pptx application/vnd.openxmlformats-officedocument.presentationml.presentation
09AddType .potx application/vnd.openxmlformats-officedocument.presentationml.template
10AddType .ppsx application/vnd.openxmlformats-officedocument.presentationml.slideshow

重启domio服务器即可。

注:此问题在8.5.2中已修复。

参考文档:http://www-01.ibm.com/support/docview.wss?rs=899&uid=swg21412063

 

posted @ 2011-09-18 12:05  hannover  阅读(225)  评论(0编辑  收藏  举报