Koozali.org: home of the SME Server
Obsolete Releases => SME 7.x Contribs => Topic started by: pablitobs on September 10, 2008, 05:02:21 AM
-
Hello everyone, recently I cross with the issue of handling office 2007 documents on my SME 7.x, every time my users tried o access a office 2007 document using any web access (mail program, web application etc.), the current zip client took over the operation, opening a bunch of folders with xml documents
so after digging on this forum I create this how to... based on chris burnat post http://forums.contribs.org/index.php?topic=38947.0 (http://forums.contribs.org/index.php?topic=38947.0)
1. mkdir -p /etc/e-smith/templates-custom/etc/httpd/conf/httpd.conf
2. cd /etc/e-smith/templates-custom/etc/httpd/conf/httpd.conf
3. vi 75AddType05.docx
4.[and add the following:]
#add mime support for asx files
AddType application/vnd.ms-word.document.macroEnabled.12 .docm
AddType application/vnd.openxmlformats-officedocument.wordprocessingml.document docx
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
5. expand-template /etc/httpd/conf/httpd.conf
6. /etc/rc7.d/S86httpd-e-smith restart
After that you will see this on your screen:
Restarting httpd-e-smith [ OK ]
If so you are ready. now go to your mail program, web application etc, and you should be able to open your documents.
Hope this helps!!!
-
You should open a bug request to get these added for office 2007.
JB
-
Done!!
-
Done!!
Great! Please always post a link to your bug report for reference.
-
Do not poast messages twice in the forums as this will scatter replies and cause multiple remarks with the same message. Once in the proper catgory is enough. Thank in advance.
Also please post the url/bug number here for futute reference.