<?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>Demon Clown Baby &#187; how to</title>
	<atom:link href="http://www.demonclownbaby.com/category/how-to/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.demonclownbaby.com</link>
	<description>There'll be good content here... someday</description>
	<lastBuildDate>Wed, 08 Apr 2020 01:45:50 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Adding mod_deflate to Apache as a shared object</title>
		<link>http://www.demonclownbaby.com/2009/03/24/adding-mod_deflate-to-apache-as-a-shared-object/</link>
		<comments>http://www.demonclownbaby.com/2009/03/24/adding-mod_deflate-to-apache-as-a-shared-object/#comments</comments>
		<pubDate>Tue, 24 Mar 2009 21:56:50 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[how to]]></category>

		<guid isPermaLink="false">http://www.demonclownbaby.com/?p=137</guid>
		<description><![CDATA[So you want to add mod_deflate to Apache but without recompiling it.  You can compile just that module and add it dynamically.
What we need to do is create mod_deflate.so where the .so stands for shared object.
First find where apxs and apr-config are located.  For me it was in /usr/local/apache/bin
Edit the apr-config file and [...]]]></description>
			<content:encoded><![CDATA[<p>So you want to add mod_deflate to Apache but without recompiling it.  You can compile just that module and add it dynamically.</p>
<p>What we need to do is create mod_deflate.so where the .so stands for shared object.</p>
<p>First find where apxs and apr-config are located.  For me it was in /usr/local/apache/bin</p>
<p>Edit the apr-config file and change this line:</p>
<p>LDFLAGS=&quot;&quot;</p>
<p>to this one:</p>
<p>LDFLAGS=&quot;-lz&quot;</p>
<p>Then go to your Apache source files (or download them off of apache.org).  Go to modules/filters and find the mod_deflate.c file.</p>
<p>Run this:</p>
<p>apxs -c mod_deflate.c</p>
<p>You should now have these files:</p>
<p>mod_deflate.c<br />
mod_deflate.dsp<br />
mod_deflate.exp<br />
mod_deflate.la<br />
mod_deflate.lo<br />
mod_deflate.o<br />
mod_deflate.slo</p>
<p>Notice there is no mod_deflate.so file there.  This is where I got stuck.  Fortunately on Apache&#8217;s site they indicate to do this:</p>
<p>apxs -i -a -n deflate mod_deflate.la</p>
<p>That creates the mod_deflate.so file, puts it in the modules folder, and adds this to your httpd.conf:</p>
<p>LoadModule deflate_module     modules/mod_deflate.so</p>
<p>There you go.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.demonclownbaby.com/2009/03/24/adding-mod_deflate-to-apache-as-a-shared-object/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
