In order for servers to recognize the new file formats in the 2007 Office system, you will need to register the Multipurpose Internet Mail Extensions (MIME) types for each new file type. If the MIME types are not registered, servers will detect the new file formats as ZIP archives. MIME types are automatically registered with computers running Windows Server 2003 Service Pack 2 (SP2) or later versions.
For servers running Windows 2003 Server and Internet Information Services (IIS) 6.0, you can add the Open XML types in IIS Manager | Server Properties | MIME Types. IIS 7.0 includes these new MIME types by default.
For servers that are not Windows-based, you will need to register the MIME types manually. Please refer to the product documentation for your server or refer to the links at the end of this article for more information about registering MIME types.
The following table shows the extensions you will need to register, their file type, and their MIME type:
File extension
File type
MIME type
.docx
Microsoft Office Word 2007 document
application/vnd.openxmlformats-officedocument.wordprocessingml.document
.docm
Office Word 2007 macro-enabled document
application/vnd.ms-word.document.macroEnabled.12
.dotx
Office Word 2007 template
application/vnd.openxmlformats-officedocument.wordprocessingml.template
.dotm
Office Word 2007 macro-enabled document template
application/vnd.ms-word.template.macroEnabled.12
.xlsx
Microsoft Office Excel 2007 workbook
application/vnd.openxmlformats-officedocument.spreadsheetml.sheet
.xlsm
Office Excel 2007 macro-enabled workbook
application/vnd.ms-excel.sheet.macroEnabled.12
.xltx
Office Excel 2007 template
application/vnd.openxmlformats-officedocument.spreadsheetml.template
.xltm
Office Excel 2007 macro-enabled workbook template
application/vnd.ms-excel.template.macroEnabled.12
.xlsb
Office Excel 2007 binary workbook
application/vnd.ms-excel.sheet.binary.macroEnabled.12
.xlam
Office Excel 2007 add-in
application/vnd.ms-excel.addin.macroEnabled.12
.pptx
Microsoft Office PowerPoint 2007 presentation
application/vnd.openxmlformats-officedocument.presentationml.presentation
.pptm
Office PowerPoint 2007 macro-enabled presentation
application/vnd.ms-powerpoint.presentation.macroEnabled.12
.ppsx
Office PowerPoint 2007 slide show
application/vnd.openxmlformats-officedocument.presentationml.slideshow
.ppsm
Office PowerPoint 2007 macro-enabled slide show
application/vnd.ms-powerpoint.slideshow.macroEnabled.12
.potx
Office PowerPoint 2007 template
application/vnd.openxmlformats-officedocument.presentationml.template
.potm
Office PowerPoint 2007 macro-enabled presentation template
application/vnd.ms-powerpoint.template.macroEnabled.12
.ppam
Office PowerPoint 2007 add-in
application/vnd.ms-powerpoint.addin.macroEnabled.12
.sldx
Office PowerPoint 2007 slide
application/vnd.openxmlformats-officedocument.presentationml.slide
.sldm
Office PowerPoint 2007 macro-enabled slide
application/vnd.ms-powerpoint.slide.macroEnabled.12
.one
Microsoft Office OneNote 2007 section
application/onenote
.onetoc2
Office OneNote 2007 TOC
.onetmp
Office OneNote 2007 temporary file
.onepkg
Office OneNote 2007 package
.thmx
2007 Office release theme
application/vnd.ms-officetheme
For more information on setting these types on different servers, see the following articles:
· How to get Companyweb (Windows SharePoint Services v2) to work with Office 2007 on David Overton’s blog
· Office 2007 MIME types for Apache on Vladimir Mazek’s blog
· Description of the default settings for the MimeMap property and for the ScriptMaps property in IIS (includes MIME types for other file extensions)