12 February 2012

I created a WordPress blog at work for communication with my team.  It works fairly well.  I ran into an issue though, when uploading media in Office’s “new” format that it just opened as a bunch of code.  The version of Apache that came with Xampp (and I suspect on many hosts out there) needs the apache\conf updated to include the Mime types.  The line that should be added is:

application/vnd.openxmlformats             docx pptx xlsx

After adding the line, clicking a link should prompt the browser to download the file instead of display it as a bunch of gibberish code.

To update this on Domain.com I had to:

1.  Click on control panel next to your hosting package.
2.  Click on Manage Webspace (if you have multiple spaces please make sure you have selected the correct one first.
3.  Click on Website Configuration and across the top tabs click on MIME Types.

The Mime Type is as it’s typed above.  When entering the extensions, however, you have to seperate them each on their own line or by commas (no spaces!)


There are no comments.



You must be logged in to post a comment.

Links

RSS 2.0 Feed

Support

Brave Rewards
This site supports Brave Rewards. Please consider tipping or adding it to your monthly contributions if you find anything helpful!

For other ways: Support

Support this blog! If you have found it helpfu you can send me crypto. Any amount is appreciated!
ETH: 0xBEaF72807Cb5f4a8CCE23A5E7949041f62e8F8f0 | BTC: 3HTK5VJWr3vnftxbrcWAszLkRTrx9s5KzZ | SHIB: 0xdb209f96dD1BdcC12f03FdDfFAD0602276fb29BE
Brave Users you can send me BAT using the browser.