i removed the extra stuff and restarted the server but that did not do it.
I added this script (not mine) and placed it: Apache Group\Apache2\conf\update_mime.vbs
and that seemed to have dome something however instead of downloading the .xlsm file as 07 it opens as 03.
Any other thoughts?
'This script adds the necessary Office 2007 MIME types to an IIS Server.
'To use this script, just double-click or execute it from a command line.
'Running this script multiple times results in multiple entries in the IIS MimeMap.
Dim MimeMapObj, MimeMapArray, MimeTypesToAddArray, WshShell, oExec
Const ADS_PROPERTY_UPDATE = 2
'Set the MIME types to be added
' MimeTypesToAddArray = Array(".manifest", "application/manifest",
' ".xaml", "application/xaml+xml", ".application", "application/x-ms-application", ".deploy", "application/octet-stream",
' ".xbap", "application/x-ms-xbap")
MimeTypesToAddArray = Array(
".docm","application/vnd.ms-word.document.macroEnabled.12" ,
".docx","application/vnd.openxmlformats-officedocument.wordprocessingml.document" ,
".dotm","application/vnd.ms-word.template.macroEnabled.12" ,
".dotx","application/vnd.openxmlformats-officedocument.wordprocessingml.template" ,
".potm","application/vnd.ms-powerpoint.template.macroEnabled.12" ,
".potx","application/vnd.openxmlformats-officedocument.presentationml.template" ,
".ppam","application/vnd.ms-powerpoint.addin.macroEnabled.12" ,
".ppsm","application/vnd.ms-powerpoint.slideshow.macroEnabled.12" ,
".ppsx","application/vnd.openxmlformats-officedocument.presentationml.slideshow" ,
".pptm","application/vnd.ms-powerpoint.presentation.macroEnabled.12" ,
".pptx","application/vnd.openxmlformats-officedocument.presentationml.presentation" ,
".xlam","application/vnd.ms-excel.addin.macroEnabled.12" ,
".xlsb","application/vnd.ms-excel.sheet.binary.macroEnabled.12" ,
".xlsm","application/vnd.ms-excel.sheet.macroEnabled.12" ,
".xlsx","application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" ,
".xltm","application/vnd.ms-excel.template.macroEnabled.12" ,
".xltx","application/vnd.openxmlformats-officedocument.spreadsheetml.template"
)
'Get the mimemap object
Set MimeMapObj = GetObject("IIS://LocalHost/MimeMap")
'Call AddMimeType for every pair of extension/MIME type
For counter = 0 to UBound(MimeTypesToAddArray) Step 2
AddMimeType MimeTypesToAddArray(counter), MimeTypesToAddArray(counter+1)
Next
'Create a Shell object
Set WshShell = CreateObject("WScript.Shell")
'Stop and Start the IIS Service
Set oExec = WshShell.Exec("net stop w3svc")
Do While oExec.Status = 0
WScript.Sleep 100
Loop
Set oExec = WshShell.Exec("net start w3svc")
Do While oExec.Status = 0
WScript.Sleep 100
Loop
Set oExec = Nothing
'Report status to user
WScript.Echo "SharePoint Mime Types have been added."
'AddMimeType Sub
Sub AddMimeType (Ext, MType)
'Get the mappings from the MimeMap property.
MimeMapArray = MimeMapObj.GetEx("MimeMap")
' Add a new mapping.
i = UBound(MimeMapArray) + 1
Redim Preserve MimeMapArray(i)
Set MimeMapArray(i) = CreateObject("MimeMap")
MimeMapArray(i).Extension = Ext
MimeMapArray(i).MimeType = MType
MimeMapObj.PutEx ADS_PROPERTY_UPDATE, "MimeMap", MimeMapArray
MimeMapObj.SetInfo
End Sub