Mime Types (Apache vs Office 2K7)
Just a quick boring post about an issue I had with our Apache server at work and the new office 2007 documents….
You may not bump into these issues if you didn’t setup your web server from the ground up but if you do, here’s a quick fix…
We’ll the description:
When you open a link to a newer office document, for example, PowerPoint 2007 (pptx) apache may assume the document is a zip format and direct your browser to open the file with the application associated with zip files. To fix this simply update the associations in the mime.types file located @ /etc/mime.types (sudo gedit /etc/mime.types)
application/msword doc dot docx
application/ms-excel xls xlb xlt xlsx
application/ms-powerpoint ppt pps pptx
Added items in red.
After you save the file, restart Apache and your golden… (sudo /etc/init.d/apache2 restart)
Posted: September 29th, 2009
at 9:33am by aitch>ke
Tagged with 2007, apache, Linux, office, office 2007, office 2k7, ubuntu
Categories: Linux
Comments: 1 comment