<?xml version="1.0" encoding="utf-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments on: mod_gzip and Mac OS X Server</title>
	<atom:link href="http://www.niload.com/2005/04/08/mod-gzip/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.niload.com/2005/04/08/mod-gzip/</link>
	<description>Media, Apple, cats, and more</description>
	<lastBuildDate>Tue, 13 Jan 2009 23:13:50 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: nickshanks</title>
		<link>http://www.niload.com/2005/04/08/mod-gzip/comment-page-1/#comment-827</link>
		<dc:creator>nickshanks</dc:creator>
		<pubDate>Fri, 25 Nov 2005 02:01:49 +0000</pubDate>
		<guid isPermaLink="false">http://www.niload.com/archives/2005/04/08/mod-gzip/#comment-827</guid>
		<description>Never mind, I got it working. You might be interested in the following config changes I made though:
&lt;blockquote&gt;
        mod_gzip_item_exclude file \.svgz$
        mod_gzip_item_include mime ^text/
        mod_gzip_item_exclude mime ^image/
        mod_gzip_item_exclude mime ^audio/
        mod_gzip_item_include mime ^application/.*\+xml$

        # Send HTTP Vary header
        mod_gzip_send_vary On
&lt;/blockquote&gt;</description>
		<content:encoded><![CDATA[<p>Never mind, I got it working. You might be interested in the following config changes I made though:</p>
<blockquote><p>
        mod_gzip_item_exclude file \.svgz$<br />
        mod_gzip_item_include mime ^text/<br />
        mod_gzip_item_exclude mime ^image/<br />
        mod_gzip_item_exclude mime ^audio/<br />
        mod_gzip_item_include mime ^application/.*\+xml$</p>
<p>        # Send HTTP Vary header<br />
        mod_gzip_send_vary On
</p></blockquote>
]]></content:encoded>
	</item>
	<item>
		<title>By: nickshanks</title>
		<link>http://www.niload.com/2005/04/08/mod-gzip/comment-page-1/#comment-826</link>
		<dc:creator>nickshanks</dc:creator>
		<pubDate>Thu, 24 Nov 2005 23:24:22 +0000</pubDate>
		<guid isPermaLink="false">http://www.niload.com/archives/2005/04/08/mod-gzip/#comment-826</guid>
		<description>Hi there. I&#039;m having problems with mod_gzip and was wondering if you could help out. If I compile it (10.4.3) using:
&lt;code&gt;gcc -DDARWIN -DUSE_HSREGEX -DUSE_EXPAT -I../lib/expat-lite -g -Os -pipe -DHARD_SERVER_LIMIT=2048 -DEAPI -DSHARED_MODULE -I/usr/include/httpd -Wall -O3 -fomit-frame-pointer -pipe -c mod_gzip.c mod_gzip_compress.c mod_gzip_debug.c -o mod_gzip.so&lt;/code&gt;
I get a shared object file, which &lt;code&gt;make install&lt;/code&gt; puts in the right place. However apache refuses to load the module. gcc doesn&#039;t like the commas in the makefile in the &quot;-Wall,-O3,-fomit-frame-pointer,-pipe&quot; bit, so I took those out too.

The error I get is:
Cannot load /usr/libexec/httpd/mod_gzip.so into server: (reason unknown)
and yes, the file exists, is +x etc, however it is only 452 bytes, whilst all the other .so files are 10k to 20k. Would you be able to send me your built version?</description>
		<content:encoded><![CDATA[<p>Hi there. I&#8217;m having problems with mod_gzip and was wondering if you could help out. If I compile it (10.4.3) using:<br />
<code>gcc -DDARWIN -DUSE_HSREGEX -DUSE_EXPAT -I../lib/expat-lite -g -Os -pipe -DHARD_SERVER_LIMIT=2048 -DEAPI -DSHARED_MODULE -I/usr/include/httpd -Wall -O3 -fomit-frame-pointer -pipe -c mod_gzip.c mod_gzip_compress.c mod_gzip_debug.c -o mod_gzip.so</code><br />
I get a shared object file, which <code>make install</code> puts in the right place. However apache refuses to load the module. gcc doesn&#8217;t like the commas in the makefile in the &#8220;-Wall,-O3,-fomit-frame-pointer,-pipe&#8221; bit, so I took those out too.</p>
<p>The error I get is:<br />
Cannot load /usr/libexec/httpd/mod_gzip.so into server: (reason unknown)<br />
and yes, the file exists, is +x etc, however it is only 452 bytes, whilst all the other .so files are 10k to 20k. Would you be able to send me your built version?</p>
]]></content:encoded>
	</item>
</channel>
</rss>
