Koozali.org: home of the SME Server

how to allow office 2007 documents on SME 7.x

Offline pablitobs

  • **
  • 35
  • +0/-0
how to allow office 2007 documents on SME 7.x
« 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

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!!!

Offline mrjhb3

  • *
  • 1,188
  • +0/-0
    • John Bennett Services
Re: how to allow office 2007 documents on SME 7.x
« Reply #1 on: September 11, 2008, 05:19:14 AM »
You should open a bug request to get these added for office 2007.

JB
......

Offline pablitobs

  • **
  • 35
  • +0/-0
Re: how to allow office 2007 documents on SME 7.x
« Reply #2 on: September 11, 2008, 05:37:20 AM »
Done!!

Offline pfloor

  • *****
  • 889
  • +1/-0
Re: how to allow office 2007 documents on SME 7.x
« Reply #3 on: September 11, 2008, 06:41:45 AM »
Done!!

Great!  Please always post a link to your bug report for reference.

In life, you must either "Push, Pull or Get out of the way!"

Offline cactus

  • *
  • 4,880
  • +3/-0
    • http://www.snetram.nl
Re: how to allow office 2007 documents on SME 7.x
« Reply #4 on: September 11, 2008, 11:06:50 AM »
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.
Be careful whose advice you buy, but be patient with those who supply it. Advice is a form of nostalgia, dispensing it is a way of fishing the past from the disposal, wiping it off, painting over the ugly parts and recycling it for more than its worth ~ Baz Luhrmann - Everybody's Free (To Wear Sunscreen)