<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Jetpack Flight Log &#187; office 2007</title>
	<atom:link href="http://jetpackweb.com/blog/tags/office-2007/feed/" rel="self" type="application/rss+xml" />
	<link>http://jetpackweb.com/blog</link>
	<description>Rock{et}ing the interweb</description>
	<lastBuildDate>Wed, 19 May 2010 22:21:53 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>Office 2007 docx, pptx, and xslx saving as zip files</title>
		<link>http://jetpackweb.com/blog/2009/08/12/office-2007-docx-pptx-and-xslx-saving-as-zip-files/</link>
		<comments>http://jetpackweb.com/blog/2009/08/12/office-2007-docx-pptx-and-xslx-saving-as-zip-files/#comments</comments>
		<pubDate>Wed, 12 Aug 2009 19:57:07 +0000</pubDate>
		<dc:creator>Brian Racer</dc:creator>
				<category><![CDATA[apache]]></category>
		<category><![CDATA[office 2007]]></category>

		<guid isPermaLink="false">http://jetpackweb.com/blog/?p=238</guid>
		<description><![CDATA[Recently I had an issue where various browsers on Windows desktops were saving docx, xslx, and pptx as zip files when downloaded from our linux web servers(apache in this case). The solution was to add extra mime-types to /etc/mime/types: echo 'application/vnd.openxmlformats docx pptx xlsx' &#62;&#62; /etc/mime.types And then restart apache: sudo /etc/init.d/apache2 reload This would [...]]]></description>
			<content:encoded><![CDATA[<p>Recently I had an issue where various browsers on Windows desktops were saving <b>docx</b>, <b>xslx</b>, and <b>pptx</b> as zip files when downloaded from our linux web servers(apache in this case). The solution was to add extra mime-types to /etc/mime/types:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family: Monaco, monospace;"><span class="kw3">echo</span> <span class="st_h">'application/vnd.openxmlformats       docx pptx xlsx'</span> <span class="sy0">&gt;&gt;</span> <span class="sy0">/</span>etc<span class="sy0">/</span>mime.types</pre></div></div>

<p>And then restart apache:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family: Monaco, monospace;"><span class="kw2">sudo</span> <span class="sy0">/</span>etc<span class="sy0">/</span>init.d<span class="sy0">/</span>apache2 reload</pre></div></div>

<p>This would also require <b>mod_mime</b> to be loaded, and is by default in Debian based systems. To verify the location of the mime.types file your server is using, the following commands may be helpful(replace the httpd.conf or mods conf directory with your distributions location).</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family: Monaco, monospace;"><span class="kw2">grep</span> <span class="re5">-n</span> mime.types <span class="sy0">/</span>etc<span class="sy0">/</span>apache2<span class="sy0">/</span>mods-available<span class="sy0">/*</span>
<span class="kw2">grep</span> <span class="re5">-n</span> mime.types <span class="sy0">/</span>etc<span class="sy0">/</span>apache2<span class="sy0">/</span>httpd.conf</pre></div></div>

<p>Linux desktops with <a href="http://www.openoffice.org/" target="_blank">Open Office</a> had no such problems <img src='http://jetpackweb.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://jetpackweb.com/blog/2009/08/12/office-2007-docx-pptx-and-xslx-saving-as-zip-files/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
