<?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>kieranbarnes</title>
	<atom:link href="http://bloke.org/feed/" rel="self" type="application/rss+xml" />
	<link>http://bloke.org</link>
	<description>these are the things i learnt today</description>
	<lastBuildDate>Tue, 09 Mar 2010 17:36:43 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>[Snippet] Checking a Global Catalog is really a Global Catalog</title>
		<link>http://bloke.org/windows/snippet-checking-a-global-catalog-is-really-a-global-catalog/</link>
		<comments>http://bloke.org/windows/snippet-checking-a-global-catalog-is-really-a-global-catalog/#comments</comments>
		<pubDate>Tue, 09 Mar 2010 17:36:43 +0000</pubDate>
		<dc:creator>Kieran</dc:creator>
				<category><![CDATA[Snippets]]></category>
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://bloke.org/?p=694</guid>
		<description><![CDATA[Use an LDAP browser or ADSI Editor to connect to the port 3268 Global Catalog communication is performed over TCP port 3268, regular LDAP lookups are sent to TCP port 389. 
 After assigning a GC role to a server, check its Directory Services event log for event number 1119, which indicates successful obtaining a [...]


Related posts:<ol><li><a href='http://bloke.org/windows/snippet-connecting-to-windows-2008-server-from-xp/' rel='bookmark' title='Permanent Link: [Snippet] Connecting to Windows 2008 Server from XP'>[Snippet] Connecting to Windows 2008 Server from XP</a> <small>By default, Windows 2008 requires Network Level Authentication to connect...</small></li>
<li><a href='http://bloke.org/windows/responding-to-a-schema-master-failure/' rel='bookmark' title='Permanent Link: Responding to a Schema Master Failure'>Responding to a Schema Master Failure</a> <small>There is a little known FSMO role in Active Directory...</small></li>
<li><a href='http://bloke.org/windows/the-microsoft-scalable-networking-fiasco/' rel='bookmark' title='Permanent Link: The Microsoft Scalable Networking Fiasco'>The Microsoft Scalable Networking Fiasco</a> <small>I've just spent a few days diagnosing a strange Exchange...</small></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p><span style="font-family: Arial; font-size: small;">Use an LDAP browser or ADSI Editor to connect to the port 3268 Global Catalog communication is performed over TCP port 3268, regular LDAP lookups are sent to TCP port 389. </span></p>
<p><span style="font-family: Arial; font-size: small;"> After assigning a GC role to a server, check its Directory Services event log for event number 1119, which indicates successful obtaining a role of a Global Catalog server</span></p>
<p><span style="font-family: Arial; font-size: small;"><br />
</span></p>


<p>Related posts:<ol><li><a href='http://bloke.org/windows/snippet-connecting-to-windows-2008-server-from-xp/' rel='bookmark' title='Permanent Link: [Snippet] Connecting to Windows 2008 Server from XP'>[Snippet] Connecting to Windows 2008 Server from XP</a> <small>By default, Windows 2008 requires Network Level Authentication to connect...</small></li>
<li><a href='http://bloke.org/windows/responding-to-a-schema-master-failure/' rel='bookmark' title='Permanent Link: Responding to a Schema Master Failure'>Responding to a Schema Master Failure</a> <small>There is a little known FSMO role in Active Directory...</small></li>
<li><a href='http://bloke.org/windows/the-microsoft-scalable-networking-fiasco/' rel='bookmark' title='Permanent Link: The Microsoft Scalable Networking Fiasco'>The Microsoft Scalable Networking Fiasco</a> <small>I've just spent a few days diagnosing a strange Exchange...</small></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://bloke.org/windows/snippet-checking-a-global-catalog-is-really-a-global-catalog/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Ridiculously simple NTLM Authentication for Apache (Ubuntu)</title>
		<link>http://bloke.org/windows/ridiculously-simple-ntlm-authentication-for-apache-ubuntu/</link>
		<comments>http://bloke.org/windows/ridiculously-simple-ntlm-authentication-for-apache-ubuntu/#comments</comments>
		<pubDate>Tue, 09 Mar 2010 17:13:35 +0000</pubDate>
		<dc:creator>Kieran</dc:creator>
				<category><![CDATA[Apache]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://bloke.org/?p=698</guid>
		<description><![CDATA[We all know Ubuntu makes things amazingly simple. This is the best I've found so far. NTLM authentication in Apache used to take a while to setup, it used to be tricky, fiddly - generally a bit hit and miss.
Now, in Ubuntu all we need to do is install libapache2-authenntlm-perl
Done.
Now just edit your apt-get'ed Apache [...]


Related posts:<ol><li><a href='http://bloke.org/apache/ntlm-authentication-for-apt-geted-ubuntu/' rel='bookmark' title='Permanent Link: NTLM Authentication for apt-get&#8217;ed Ubuntu'>NTLM Authentication for apt-get&#8217;ed Ubuntu</a> <small>Following on from NTLM Authentication on Ubuntu and Apache2 Revisited...</small></li>
<li><a href='http://bloke.org/linux/ntlm-on-ubuntu-and-apache2-revisited/' rel='bookmark' title='Permanent Link: NTLM Authentication on Ubuntu and Apache2 Revisited'>NTLM Authentication on Ubuntu and Apache2 Revisited</a> <small>It's been a while since I've had to build an...</small></li>
<li><a href='http://bloke.org/linux/ntlm-authentication-active-directory-on-apache-linux/' rel='bookmark' title='Permanent Link: NTLM Authentication (Active Directory) on Apache (Linux)'>NTLM Authentication (Active Directory) on Apache (Linux)</a> <small>Here is a quick guide to enabling NTLM authentication for...</small></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>We all know Ubuntu makes things amazingly simple. This is the best I've found so far. NTLM authentication in Apache used to take a while to setup, it used to be tricky, fiddly - generally a bit hit and miss.<span id="more-698"></span></p>
<p>Now, in Ubuntu all we need to do is install libapache2-authenntlm-perl</p>
<div id="wpshdi_1" class="wp-synhighlighter-inner" style="display: block;"><pre class="bash" style="font-family:monospace;"><span class="kw2">apt-get</span> <span class="kw2">install</span> libapache2-authenntlm-perl</pre></div>
<p>Done.</p>
<p>Now just edit your apt-get'ed Apache installation and modify your Directory options</p>
<div id="wpshdi_2" class="wp-synhighlighter-inner" style="display: block;"><pre class="bash" style="font-family:monospace;"><span class="kw2">nano</span> <span class="sy0">/</span>etc<span class="sy0">/</span>apache2<span class="sy0">/</span>sites-enabled<span class="sy0">/</span>000-default</pre></div>
<p>apac<div id="wpshdi_3" class="wp-synhighlighter-inner" style="display: block;"><pre class="apache" style="font-family:monospace;">&lt;<span class="kw3">Directory</span> /&gt;
        <span class="kw1">Options</span> <span class="kw2">FollowSymLinks</span>
	<span class="kw1">AllowOverride</span> <span class="kw2">None</span>
&nbsp;
	  PerlAuthenHandler Apache2::AuthenNTLM
	  <span class="kw1">AuthType</span> ntlm
	  <span class="kw1">AuthName</span> <span class="st0">&quot;Hill Hire plc&quot;</span>
	  <span class="kw1">require</span> valid-<span class="kw1">user</span>
	  PerlAddVar ntdomain <span class="st0">&quot;!!DOMAIN NAME!! !!LOGON SERVER!!&quot;</span>
	  PerlSetVar defaultdomain !!DOMAIN NAME!!
	  PerlSetVar ntlmsemtimeout 2
	  PerlSetVar ntlmdebug 1
	  PerlSetVar splitdomainprefix 1
&nbsp;
&lt;/<span class="kw3">Directory</span>&gt;</pre></div></p>
<p>Restart apache and your on tea isn't even cool enough to drink yet.</p>


<p>Related posts:<ol><li><a href='http://bloke.org/apache/ntlm-authentication-for-apt-geted-ubuntu/' rel='bookmark' title='Permanent Link: NTLM Authentication for apt-get&#8217;ed Ubuntu'>NTLM Authentication for apt-get&#8217;ed Ubuntu</a> <small>Following on from NTLM Authentication on Ubuntu and Apache2 Revisited...</small></li>
<li><a href='http://bloke.org/linux/ntlm-on-ubuntu-and-apache2-revisited/' rel='bookmark' title='Permanent Link: NTLM Authentication on Ubuntu and Apache2 Revisited'>NTLM Authentication on Ubuntu and Apache2 Revisited</a> <small>It's been a while since I've had to build an...</small></li>
<li><a href='http://bloke.org/linux/ntlm-authentication-active-directory-on-apache-linux/' rel='bookmark' title='Permanent Link: NTLM Authentication (Active Directory) on Apache (Linux)'>NTLM Authentication (Active Directory) on Apache (Linux)</a> <small>Here is a quick guide to enabling NTLM authentication for...</small></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://bloke.org/windows/ridiculously-simple-ntlm-authentication-for-apache-ubuntu/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Installing mytop on cpanel</title>
		<link>http://bloke.org/linux/installing-mytop-on-cpanel/</link>
		<comments>http://bloke.org/linux/installing-mytop-on-cpanel/#comments</comments>
		<pubDate>Fri, 19 Feb 2010 12:06:51 +0000</pubDate>
		<dc:creator>Kieran</dc:creator>
				<category><![CDATA[CentOS]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[cPanel/WHM]]></category>

		<guid isPermaLink="false">http://bloke.org/?p=659</guid>
		<description><![CDATA[


MyTop is one of the best MySQL monitoring tools available, written by a MySQL guru, Jeremy Zawodny.
Its vital for monitoring your MySQL health, especially in a shared hosting environment.
Installation on a CentOS (for cPanel) server is quite straight forward with this guide.
First off, we need a few perl modules, cPanel's realperlinstaller comes in handy, if [...]


Related posts:<ol><li><a href='http://bloke.org/linux/getting-mytop-to-work-on-centosredhat/' rel='bookmark' title='Permanent Link: Getting mytop to work on CentOS/Redhat'>Getting mytop to work on CentOS/Redhat</a> <small>Screw all these AJAXified, buzz-wordified MySQL monitors. I'm old school....</small></li>
<li><a href='http://bloke.org/linux/installing-memcached-on-centos-cpanel/' rel='bookmark' title='Permanent Link: Installing memcached on CentOS (cPanel)'>Installing memcached on CentOS (cPanel)</a> <small>Welcome to hell. No really, compared to installing memcached on...</small></li>
<li><a href='http://bloke.org/linux/installing-mod_evasive-on-cpanel-andor-apache/' rel='bookmark' title='Permanent Link: Installing mod_evasive on cPanel and/or Apache'>Installing mod_evasive on cPanel and/or Apache</a> <small>This guide details how to install mod_evasive on cPanel to...</small></li>
</ol>]]></description>
			<content:encoded><![CDATA[<div>
<p><img class="alignleft" title="abstract computer network in 3d over a white b..." src="/wp-content/uploads/crestockimages/229353-ms.jpg" alt="abstract computer network in 3d over a white b..." width="113" height="77" /></p>
</div>
<p><a href="http://jeremy.zawodny.com/mysql/mytop/mytop.html" target="_blank">MyTop</a> is one of the best MySQL monitoring tools available, written by a MySQL guru, Jeremy Zawodny.</p>
<p>Its vital for monitoring your MySQL health, especially in a shared hosting environment.</p>
<p><span id="more-659"></span>Installation on a CentOS (for cPanel) server is quite straight forward with this guide.<br />
First off, we need a few perl modules, cPanel's realperlinstaller comes in handy, if you aren't on cPanel, you'll need to CPAN or manually install these modules.</p>
<div id="wpshdi_4" class="wp-synhighlighter-inner" style="display: block;"><pre class="bash" style="font-family:monospace;"><span class="sy0">/</span>scripts<span class="sy0">/</span>realperlinstaller <span class="re5">--force</span> Getopt::Long
<span class="sy0">/</span>scripts<span class="sy0">/</span>realperlinstaller <span class="re5">--force</span> DBI
<span class="sy0">/</span>scripts<span class="sy0">/</span>realperlinstaller <span class="re5">--force</span> DBD::mysql
<span class="sy0">/</span>scripts<span class="sy0">/</span>realperlinstaller <span class="re5">--force</span> Term::ReadKey</pre></div>
<p>Now, we download and install mytop.</p>
<div id="wpshdi_5" class="wp-synhighlighter-inner" style="display: block;"><pre class="bash" style="font-family:monospace;"><span class="kw2">wget</span> http:<span class="sy0">//</span>jeremy.zawodny.com<span class="sy0">/</span>mysql<span class="sy0">/</span>mytop<span class="sy0">/</span>mytop-1.6.tar.gz
<span class="kw2">tar</span> zxpfv mytop-1.6.tar.gz
<span class="kw3">cd</span> mytop-1.6
<span class="kw2">perl</span> Makefile.PL <span class="sy0">&amp;&amp;</span> <span class="kw2">make</span> <span class="sy0">&amp;&amp;</span> <span class="kw2">make</span> <span class="kw2">install</span></pre></div>
<p><strong>NOTE</strong>: You may get following error in CentOS 5.3<br />
Error in option spec: “long|!”</p>
<p>Search for the line in Makefile.PL</p>
<p><em>“long|!”              =&gt; \$config{long_nums},</em></p>
<p>Change it to by commenting using #</p>
<p><em>#”long|!”              =&gt; \$config{long_nums},</em></p>
<p>Easy fix.</p>
<p>Now you can run mytop</p>
<div id="wpshdi_6" class="wp-synhighlighter-inner" style="display: block;"><pre class="bash" style="font-family:monospace;">mytop <span class="re5">-d</span> mysql</pre></div>
<p>Done!</p>


<p>Related posts:<ol><li><a href='http://bloke.org/linux/getting-mytop-to-work-on-centosredhat/' rel='bookmark' title='Permanent Link: Getting mytop to work on CentOS/Redhat'>Getting mytop to work on CentOS/Redhat</a> <small>Screw all these AJAXified, buzz-wordified MySQL monitors. I'm old school....</small></li>
<li><a href='http://bloke.org/linux/installing-memcached-on-centos-cpanel/' rel='bookmark' title='Permanent Link: Installing memcached on CentOS (cPanel)'>Installing memcached on CentOS (cPanel)</a> <small>Welcome to hell. No really, compared to installing memcached on...</small></li>
<li><a href='http://bloke.org/linux/installing-mod_evasive-on-cpanel-andor-apache/' rel='bookmark' title='Permanent Link: Installing mod_evasive on cPanel and/or Apache'>Installing mod_evasive on cPanel and/or Apache</a> <small>This guide details how to install mod_evasive on cPanel to...</small></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://bloke.org/linux/installing-mytop-on-cpanel/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>mod_geoip Revisted including stopping spam in phpBB 2</title>
		<link>http://bloke.org/linux/mod_geoip-revisted-including-stopping-spam-in-phpbb-2/</link>
		<comments>http://bloke.org/linux/mod_geoip-revisted-including-stopping-spam-in-phpbb-2/#comments</comments>
		<pubDate>Mon, 15 Feb 2010 11:43:48 +0000</pubDate>
		<dc:creator>Kieran</dc:creator>
				<category><![CDATA[Apache]]></category>
		<category><![CDATA[CentOS]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[cPanel/WHM]]></category>
		<category><![CDATA[phpBB]]></category>

		<guid isPermaLink="false">http://bloke.org/?p=689</guid>
		<description><![CDATA[I've recently moved a client's forum onto a new cPanel server, previously it was on a home-brew Ubuntu server.
So I had to install mod_geoip onto cPanel in CentOS. It wasn't as bad as I was expecting.
First off, we need to download the GeoIP libraries.Installing the library
Download data file

The GeoIP system works by reading a binary [...]


Related posts:<ol><li><a href='http://bloke.org/php/auto-updating-geoip-binary-databases/' rel='bookmark' title='Permanent Link: Auto Updating GeoIP Binary Databases'>Auto Updating GeoIP Binary Databases</a> <small>Here's how I keep on top of updating the GeoIP...</small></li>
<li><a href='http://bloke.org/linux/installing-mod_evasive-on-cpanel-andor-apache/' rel='bookmark' title='Permanent Link: Installing mod_evasive on cPanel and/or Apache'>Installing mod_evasive on cPanel and/or Apache</a> <small>This guide details how to install mod_evasive on cPanel to...</small></li>
<li><a href='http://bloke.org/php/php-geo-ip-location-in-4-lines/' rel='bookmark' title='Permanent Link: PHP Geo-IP Location in 4 lines'>PHP Geo-IP Location in 4 lines</a> <small>Want to look up IP addresses to a geographical location?...</small></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>I've recently moved a client's forum onto a new cPanel server, previously it was on a home-brew Ubuntu server.<br />
So I had to install mod_geoip onto cPanel in CentOS. It wasn't as bad as I was expecting.</p>
<p>First off, we need to download the GeoIP libraries.<span id="more-689"></span><strong>I</strong><strong>nstalling the library</strong></p>
<div id="wpshdi_7" class="wp-synhighlighter-inner" style="display: block;"><pre class="bash" style="font-family:monospace;"><span class="kw2">wget</span> http:<span class="sy0">//</span>www.maxmind.com<span class="sy0">/</span>download<span class="sy0">/</span>geoip<span class="sy0">/</span>api<span class="sy0">/</span>...<span class="sy0">/</span>c<span class="sy0">/</span>GeoIP.tar.gz
<span class="kw2">tar</span> xzfv GeoIP.tar.gz
<span class="kw3">cd</span> GeoIP-1.4.6<span class="sy0">/</span>
.<span class="sy0">/</span>configure
<span class="kw2">make</span>
<span class="kw2">make</span> check
<span class="kw2">make</span> <span class="kw2">install</span></pre></div>
<p><strong>Download data file<br />
</strong></p>
<p>The GeoIP system works by reading a binary data file, we need to download it. Its a good idea to write a cron wrapper around this to keep it updated</p>
<div id="wpshdi_8" class="wp-synhighlighter-inner" style="display: block;"><pre class="bash" style="font-family:monospace;"><span class="kw2">mkdir</span> <span class="sy0">/</span>usr<span class="sy0">/</span>share<span class="sy0">/</span>GeoIP<span class="sy0">/</span>
<span class="kw3">cd</span> <span class="sy0">/</span>usr<span class="sy0">/</span>share<span class="sy0">/</span>GeoIP<span class="sy0">/</span>
<span class="kw2">mv</span> GeoIP.dat GeoIP.dat_orig
<span class="kw2">wget</span> http:<span class="sy0">//</span>geolite.maxmind.com<span class="sy0">/</span>download<span class="sy0">/</span>geoip<span class="sy0">/</span>database<span class="sy0">/</span>GeoLiteCountry<span class="sy0">/</span>GeoIP.dat.gz
<span class="kw2">gunzip</span> GeoIP.dat.gz</pre></div>
<p><strong>Download and install the Apache module</strong></p>
<div id="wpshdi_9" class="wp-synhighlighter-inner" style="display: block;"><pre class="bash" style="font-family:monospace;"><span class="kw2">wget</span> http:<span class="sy0">//</span>www.maxmind.com<span class="sy0">/</span>download<span class="sy0">/</span>geoip<span class="sy0">/</span>api<span class="sy0">/</span>...ip_1.2.5.tar.gz
<span class="kw2">tar</span> xzfv mod_geoip_1.1.1.tar.gz
<span class="kw3">cd</span> mod_geoip_1.1.1
apxs <span class="re5">-cia</span> -I<span class="sy0">/</span>usr<span class="sy0">/</span>local<span class="sy0">/</span>include -L<span class="sy0">/</span>usr<span class="sy0">/</span>local<span class="sy0">/</span>lib <span class="re5">-lGeoIP</span> mod_geoip.c</pre></div>
<p><strong>Server Configuration</strong></p>
<p>In cPanel, I had to edit the Apache Configuration -&gt; Includes Editor -&gt; Post VirtualHost Include<br />
Or you could edit.<em>/usr/local/apache/conf/includes/post_virtualhost_2.conf</em></p>
<div id="wpshdi_10" class="wp-synhighlighter-inner" style="display: block;"><pre class="apache" style="font-family:monospace;">&lt;<span class="kw3">IfModule</span> mod_geoip.c&gt;
GeoIPDBFile /usr/share/GeoIP/GeoIP.dat
&lt;/<span class="kw3">IfModule</span>&gt;</pre></div>
<p>cPanel users only, we need to distill the apxs module into Apache so it isn't lost next time you rebuild or upgrade cPanel/Apache.</p>
<pre><div id="wpshdi_11" class="wp-synhighlighter-inner" style="display: block;"><pre class="bash" style="font-family:monospace;"><span class="sy0">/</span>usr<span class="sy0">/</span>local<span class="sy0">/</span>cpanel<span class="sy0">/</span>bin<span class="sy0">/</span>apache_conf_distiller -–update</pre></div></pre>
<p>Restart apache.</p>
<p>Here's a snippet of code that blocked 99% of spam from my client's UK based phpBB forum.</p>
<div id="wpshdi_12" class="wp-synhighlighter-inner" style="display: block;"><pre class="apache" style="font-family:monospace;"><span class="co1"># START Block Countries</span>
&lt;<span class="kw3">IfModule</span> mod_geoip.c&gt;
GeoIPEnable <span class="kw2">On</span>
<span class="kw1">RewriteEngine</span> <span class="kw2">On</span>
<span class="kw1">RewriteCond</span> %{ENV:GEOIP_COUNTRY_CODE} !^(GB|US|IE|AU|PT)$
<span class="kw1">RewriteRule</span> ^(.*)$ http://&lt;SITE&gt;/access-denied [L]
&lt;/<span class="kw3">IfModule</span>&gt;
<span class="co1"># END Block Countries</span></pre></div>


<p>Related posts:<ol><li><a href='http://bloke.org/php/auto-updating-geoip-binary-databases/' rel='bookmark' title='Permanent Link: Auto Updating GeoIP Binary Databases'>Auto Updating GeoIP Binary Databases</a> <small>Here's how I keep on top of updating the GeoIP...</small></li>
<li><a href='http://bloke.org/linux/installing-mod_evasive-on-cpanel-andor-apache/' rel='bookmark' title='Permanent Link: Installing mod_evasive on cPanel and/or Apache'>Installing mod_evasive on cPanel and/or Apache</a> <small>This guide details how to install mod_evasive on cPanel to...</small></li>
<li><a href='http://bloke.org/php/php-geo-ip-location-in-4-lines/' rel='bookmark' title='Permanent Link: PHP Geo-IP Location in 4 lines'>PHP Geo-IP Location in 4 lines</a> <small>Want to look up IP addresses to a geographical location?...</small></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://bloke.org/linux/mod_geoip-revisted-including-stopping-spam-in-phpbb-2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Ubuntu Upgrades</title>
		<link>http://bloke.org/linux/ubuntu-upgrades/</link>
		<comments>http://bloke.org/linux/ubuntu-upgrades/#comments</comments>
		<pubDate>Fri, 12 Feb 2010 11:52:13 +0000</pubDate>
		<dc:creator>Kieran</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://bloke.org/?p=686</guid>
		<description><![CDATA[Here is a really simple way of upgrading your Ubuntu system. After the initial setup, upgrading to Karmic or Intrepid is a one liner.
Initial setup
apt-get update
and now install the package update-manager-core:
apt-get install update-manager-core
nano /etc/update-manager/release-upgrades
Change Prompt=lts to Prompt=normal
Doing the upgrade
do-release-upgrade
Follow the prompts, its easy.


Related posts:Upgrade Ubuntu Dapper to Karmic I found an old server at a [...]


Related posts:<ol><li><a href='http://bloke.org/linux/upgrade-ubuntu-dapper-to-karmic/' rel='bookmark' title='Permanent Link: Upgrade Ubuntu Dapper to Karmic'>Upgrade Ubuntu Dapper to Karmic</a> <small>I found an old server at a clients site today...</small></li>
<li><a href='http://bloke.org/linux/ntlm-on-ubuntu-and-apache2-revisited/' rel='bookmark' title='Permanent Link: NTLM Authentication on Ubuntu and Apache2 Revisited'>NTLM Authentication on Ubuntu and Apache2 Revisited</a> <small>It's been a while since I've had to build an...</small></li>
<li><a href='http://bloke.org/windows/upgrading-from-sql-2000-to-2005-error-1/' rel='bookmark' title='Permanent Link: Upgrading from SQL 2000 to 2005 Error -1'>Upgrading from SQL 2000 to 2005 Error -1</a> <small>Ever had your Upgrade Advisor return an error while upgrading...</small></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>Here is a really simple way of upgrading your Ubuntu system. After the initial setup, upgrading to Karmic or Intrepid is a one liner.<span id="more-686"></span></p>
<p><strong>Initial setup</strong></p>
<p><em>apt-get update</em></p>
<p>and now install the package update-manager-core:</p>
<p><em>apt-get install update-manager-core</em></p>
<p><em>nano /etc/update-manager/release-upgrades</em></p>
<p>Change <em>Prompt=lts </em>to <em>Prompt=normal</em></p>
<p><strong>Doing the upgrade</strong></p>
<p><em>do-release-upgrade</em></p>
<p>Follow the prompts, its easy.</p>


<p>Related posts:<ol><li><a href='http://bloke.org/linux/upgrade-ubuntu-dapper-to-karmic/' rel='bookmark' title='Permanent Link: Upgrade Ubuntu Dapper to Karmic'>Upgrade Ubuntu Dapper to Karmic</a> <small>I found an old server at a clients site today...</small></li>
<li><a href='http://bloke.org/linux/ntlm-on-ubuntu-and-apache2-revisited/' rel='bookmark' title='Permanent Link: NTLM Authentication on Ubuntu and Apache2 Revisited'>NTLM Authentication on Ubuntu and Apache2 Revisited</a> <small>It's been a while since I've had to build an...</small></li>
<li><a href='http://bloke.org/windows/upgrading-from-sql-2000-to-2005-error-1/' rel='bookmark' title='Permanent Link: Upgrading from SQL 2000 to 2005 Error -1'>Upgrading from SQL 2000 to 2005 Error -1</a> <small>Ever had your Upgrade Advisor return an error while upgrading...</small></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://bloke.org/linux/ubuntu-upgrades/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>The tap in the Kitchen</title>
		<link>http://bloke.org/general/the-tap-in-the-kitchen/</link>
		<comments>http://bloke.org/general/the-tap-in-the-kitchen/#comments</comments>
		<pubDate>Thu, 11 Feb 2010 14:08:19 +0000</pubDate>
		<dc:creator>Kieran</dc:creator>
				<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://bloke.org/?p=684</guid>
		<description><![CDATA[A fantasticaly inexplicable email appeared today.
Please can you make sure that when you turn the tap off in the kitchen you don’t turn it till it stops dripping.
It’s meant to drip &#38; people have been struggling to turn it back on.
Regards


Related posts:Wordpress 2.5 Upgrade This morning I upgraded to the latest Wordpress 2.5, along...



Related posts:<ol><li><a href='http://bloke.org/general/wordpress-25-upgraded/' rel='bookmark' title='Permanent Link: Wordpress 2.5 Upgrade'>Wordpress 2.5 Upgrade</a> <small>This morning I upgraded to the latest Wordpress 2.5, along...</small></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>A fantasticaly inexplicable email appeared today.</p>
<blockquote><p>Please can you make sure that when you turn the tap off in the kitchen you don’t turn it till it stops dripping.</p>
<p>It’s meant to drip &amp; people have been struggling to turn it back on.</p>
<p>Regards</p></blockquote>


<p>Related posts:<ol><li><a href='http://bloke.org/general/wordpress-25-upgraded/' rel='bookmark' title='Permanent Link: Wordpress 2.5 Upgrade'>Wordpress 2.5 Upgrade</a> <small>This morning I upgraded to the latest Wordpress 2.5, along...</small></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://bloke.org/general/the-tap-in-the-kitchen/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>[Snippet] Installation of MS SQL Libraries on Ubuntu</title>
		<link>http://bloke.org/linux/snippet-installation-of-ms-sql-libraries-on-ubuntu/</link>
		<comments>http://bloke.org/linux/snippet-installation-of-ms-sql-libraries-on-ubuntu/#comments</comments>
		<pubDate>Tue, 09 Feb 2010 14:38:42 +0000</pubDate>
		<dc:creator>Kieran</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[MS SQL]]></category>

		<guid isPermaLink="false">http://bloke.org/uncategorized/snippet-installation-of-ms-sql-libraries-on-ubuntu/</guid>
		<description><![CDATA[Can't find php-mssql? Nah, its gone. Use php-sybase which contains both libraries now. Remember, make sure FreeTDS is installed aswell.


Related posts:FreeTDS installation directory is not a FreeTDS installation directory I recently discovered an error whilst trying to (re)install an...
System Monitoring on Ubuntu in 30 seconds Installing munin has to be the fastest and simplest way...
NTLM [...]


Related posts:<ol><li><a href='http://bloke.org/php/freetds-installation-directory-is-not-a-freetds-installation-directory/' rel='bookmark' title='Permanent Link: FreeTDS installation directory is not a FreeTDS installation directory'>FreeTDS installation directory is not a FreeTDS installation directory</a> <small>I recently discovered an error whilst trying to (re)install an...</small></li>
<li><a href='http://bloke.org/linux/system-monitoring-on-ubuntu-in-30-seconds/' rel='bookmark' title='Permanent Link: System Monitoring on Ubuntu in 30 seconds'>System Monitoring on Ubuntu in 30 seconds</a> <small>Installing munin has to be the fastest and simplest way...</small></li>
<li><a href='http://bloke.org/linux/ntlm-on-ubuntu-and-apache2-revisited/' rel='bookmark' title='Permanent Link: NTLM Authentication on Ubuntu and Apache2 Revisited'>NTLM Authentication on Ubuntu and Apache2 Revisited</a> <small>It's been a while since I've had to build an...</small></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>Can't find php-mssql? Nah, its gone. Use php-sybase which contains both libraries now. Remember, make sure FreeTDS is installed aswell.</p>


<p>Related posts:<ol><li><a href='http://bloke.org/php/freetds-installation-directory-is-not-a-freetds-installation-directory/' rel='bookmark' title='Permanent Link: FreeTDS installation directory is not a FreeTDS installation directory'>FreeTDS installation directory is not a FreeTDS installation directory</a> <small>I recently discovered an error whilst trying to (re)install an...</small></li>
<li><a href='http://bloke.org/linux/system-monitoring-on-ubuntu-in-30-seconds/' rel='bookmark' title='Permanent Link: System Monitoring on Ubuntu in 30 seconds'>System Monitoring on Ubuntu in 30 seconds</a> <small>Installing munin has to be the fastest and simplest way...</small></li>
<li><a href='http://bloke.org/linux/ntlm-on-ubuntu-and-apache2-revisited/' rel='bookmark' title='Permanent Link: NTLM Authentication on Ubuntu and Apache2 Revisited'>NTLM Authentication on Ubuntu and Apache2 Revisited</a> <small>It's been a while since I've had to build an...</small></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://bloke.org/linux/snippet-installation-of-ms-sql-libraries-on-ubuntu/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Carbon Fibre wrapping the FTO</title>
		<link>http://bloke.org/automotive/carbon-fibre-wrapping-the-fto/</link>
		<comments>http://bloke.org/automotive/carbon-fibre-wrapping-the-fto/#comments</comments>
		<pubDate>Mon, 08 Feb 2010 01:06:37 +0000</pubDate>
		<dc:creator>Kieran</dc:creator>
				<category><![CDATA[Automotive]]></category>

		<guid isPermaLink="false">http://bloke.org/?p=678</guid>
		<description><![CDATA[Carbon Fibre wrapping the FTO.
    
 


No related posts.


No related posts.]]></description>
			<content:encoded><![CDATA[<p>Carbon Fibre wrapping the FTO.</p>
<p><a href="http://s481.photobucket.com/albums/rr175/kizbob/fto/?action=view&amp;current=DSC_5677Medium.jpg" target="_blank"><img src="http://i481.photobucket.com/albums/rr175/kizbob/fto/th_DSC_5677Medium.jpg" border="0" alt="Photobucket" /></a><a href="http://s481.photobucket.com/albums/rr175/kizbob/fto/?action=view&amp;current=DSC_5678Medium.jpg" target="_blank"> <img src="http://i481.photobucket.com/albums/rr175/kizbob/fto/th_DSC_5678Medium.jpg" border="0" alt="Photobucket" /></a><a href="http://s481.photobucket.com/albums/rr175/kizbob/fto/?action=view&amp;current=DSC_5680Medium.jpg" target="_blank"> <img src="http://i481.photobucket.com/albums/rr175/kizbob/fto/th_DSC_5680Medium.jpg" border="0" alt="Photobucket" /></a><a href="http://s481.photobucket.com/albums/rr175/kizbob/fto/?action=view&amp;current=DSC_5681Medium.jpg" target="_blank"> <img src="http://i481.photobucket.com/albums/rr175/kizbob/fto/th_DSC_5681Medium.jpg" border="0" alt="Photobucket" /></a><a href="http://s481.photobucket.com/albums/rr175/kizbob/fto/?action=view&amp;current=DSC_5682Medium.jpg" target="_blank"> <img src="http://i481.photobucket.com/albums/rr175/kizbob/fto/th_DSC_5682Medium.jpg" border="0" alt="Photobucket" /></a><br />
<a href="http://s481.photobucket.com/albums/rr175/kizbob/fto/?action=view&amp;current=DSC_5683Medium.jpg" target="_blank"><img src="http://i481.photobucket.com/albums/rr175/kizbob/fto/th_DSC_5683Medium.jpg" border="0" alt="Photobucket" /> </a><a href="http://s481.photobucket.com/albums/rr175/kizbob/fto/?action=view&amp;current=DSC_5684Medium.jpg" target="_blank"><img src="http://i481.photobucket.com/albums/rr175/kizbob/fto/th_DSC_5684Medium.jpg" border="0" alt="Photobucket" /></a></p>


<p>No related posts.</p>]]></content:encoded>
			<wfw:commentRss>http://bloke.org/automotive/carbon-fibre-wrapping-the-fto/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Installing mod_evasive on cPanel and/or Apache</title>
		<link>http://bloke.org/linux/installing-mod_evasive-on-cpanel-andor-apache/</link>
		<comments>http://bloke.org/linux/installing-mod_evasive-on-cpanel-andor-apache/#comments</comments>
		<pubDate>Fri, 29 Jan 2010 10:48:26 +0000</pubDate>
		<dc:creator>Kieran</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[cPanel/WHM]]></category>

		<guid isPermaLink="false">http://bloke.org/?p=664</guid>
		<description><![CDATA[This guide details how to install mod_evasive on cPanel to help protect against DDOS attacks, brute force attacks  and other irritants.
It uses an internal hash table of IPs and URLs and can temporarily block web requests to anyone requesting a large number of page views, or making many concurrent requests. Properly configured it can help [...]


Related posts:<ol><li><a href='http://bloke.org/linux/mod_geoip-revisted-including-stopping-spam-in-phpbb-2/' rel='bookmark' title='Permanent Link: mod_geoip Revisted including stopping spam in phpBB 2'>mod_geoip Revisted including stopping spam in phpBB 2</a> <small>I've recently moved a client's forum onto a new cPanel...</small></li>
<li><a href='http://bloke.org/linux/installing-memcached-on-centos-cpanel/' rel='bookmark' title='Permanent Link: Installing memcached on CentOS (cPanel)'>Installing memcached on CentOS (cPanel)</a> <small>Welcome to hell. No really, compared to installing memcached on...</small></li>
<li><a href='http://bloke.org/cpanelwhm/anonymous-apache-php-for-cpanel/' rel='bookmark' title='Permanent Link: Anonymous apache &#038; PHP for cPanel'>Anonymous apache &#038; PHP for cPanel</a> <small>So I've started playing with cPanel/WHM recently. I've got to...</small></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p><a href="http://bloke.org/wp-content/uploads/2010/01/tinternet.png"><img class="alignleft size-thumbnail wp-image-665" title="tinternet" src="http://bloke.org/wp-content/uploads/2010/01/tinternet-150x150.png" alt="" width="150" height="150" /></a>This guide details how to install <a href="http://www.zdziarski.com/projects/mod_evasive/" target="_blank">mod_evasive</a> on cPanel to help protect against DDOS attacks, brute force attacks  and other irritants.</p>
<p>It uses an internal hash table of IPs and URLs and can temporarily block web requests to anyone requesting a large number of page views, or making many concurrent requests. Properly configured it can help evade DDOS attacks and keep your customers happy.</p>
<p>You can integrate it with iptables and hardware firewalls too if you like.</p>
<p><span id="more-664"></span>This guide is only cPanel specific to the point where you edit the configuration file.</p>
<p>Check the latest version from the <a href="http://www.zdziarski.com/projects/mod_evasive/" target="_blank">mod_evasive</a> web site. It is 1.10.1 in Jan 2010.</p>
<div id="wpshdi_13" class="wp-synhighlighter-inner" style="display: block;"><pre class="bash" style="font-family:monospace;"><span class="kw2">wget</span> http:<span class="sy0">//</span>www.zdziarski.com<span class="sy0">/</span>projects<span class="sy0">/</span>mod_evasive<span class="sy0">/</span>mod_evasive_1.10.1.tar.gz
<span class="kw2">tar</span> zxvf mod_evasive_1.10.1.tar.gz
<span class="kw3">cd</span> mod_evasive</pre></div>
<p>I am assuming you use apxs to load dymanic modules into apache. You really should.</p>
<div id="wpshdi_14" class="wp-synhighlighter-inner" style="display: block;"><pre class="bash" style="font-family:monospace;"><span class="sy0">/</span>usr<span class="sy0">/</span>local<span class="sy0">/</span>apache<span class="sy0">/</span>bin<span class="sy0">/</span>apxs <span class="re5">-i</span> <span class="re5">-a</span> <span class="re5">-c</span> mod_evasive20.c</pre></div>
<p>cPanel users only, we need to distill the apxs module into Apache so it isn't lost next time you rebuild or upgrade cPanel/Apache.</p>
<div id="wpshdi_15" class="wp-synhighlighter-inner" style="display: block;"><pre class="bash" style="font-family:monospace;"><span class="sy0">/</span>usr<span class="sy0">/</span>local<span class="sy0">/</span>cpanel<span class="sy0">/</span>bin<span class="sy0">/</span>apache_conf_distiller –update</pre></div>
<p>cPanel users can edit <em>/usr/local/apache/conf/includes/post_virtualhost_2.conf</em> or use the <em>Apache Configuration </em>option in WHM.</p>
<p>Vanilla Apache users can just stick the config in their <em>httpd.conf</em>.</p>
<div id="wpshdi_16" class="wp-synhighlighter-inner" style="display: block;"><pre class="apache" style="font-family:monospace;">&lt;<span class="kw3">IfModule</span> mod_evasive20.c&gt;
DOSHashTableSize    3097
DOSPageCount        2
DOSSiteCount        50
DOSPageInterval     1
DOSSiteInterval     1
DOSBlockingPeriod   3600
&lt;/<span class="kw3">IfModule</span>&gt;</pre></div>
<p>Optionally you can also add the following directives;</p>
<div id="wpshdi_17" class="wp-synhighlighter-inner" style="display: block;"><pre class="apache" style="font-family:monospace;">DOSEmailNotify      you@yourdomain.com
DOSSystemCommand    <span class="st0">&quot;/etc/apf/apf -d %s'&quot;</span>
DOSLogDir           <span class="st0">&quot;/var/lock/mod_evasive&quot;</span></pre></div>
<p>I use <a href="http://www.rfxn.com/projects/" target="_blank">APF firewall</a>, with the DOSSystemCommand so I can automatically dop offending IPs at the firewall rather than at Apache.</p>
<p>Hopefully you will never see an email from mod_evasive, but you know its there, ready and waiting.</p>


<p>Related posts:<ol><li><a href='http://bloke.org/linux/mod_geoip-revisted-including-stopping-spam-in-phpbb-2/' rel='bookmark' title='Permanent Link: mod_geoip Revisted including stopping spam in phpBB 2'>mod_geoip Revisted including stopping spam in phpBB 2</a> <small>I've recently moved a client's forum onto a new cPanel...</small></li>
<li><a href='http://bloke.org/linux/installing-memcached-on-centos-cpanel/' rel='bookmark' title='Permanent Link: Installing memcached on CentOS (cPanel)'>Installing memcached on CentOS (cPanel)</a> <small>Welcome to hell. No really, compared to installing memcached on...</small></li>
<li><a href='http://bloke.org/cpanelwhm/anonymous-apache-php-for-cpanel/' rel='bookmark' title='Permanent Link: Anonymous apache &#038; PHP for cPanel'>Anonymous apache &#038; PHP for cPanel</a> <small>So I've started playing with cPanel/WHM recently. I've got to...</small></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://bloke.org/linux/installing-mod_evasive-on-cpanel-andor-apache/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Enabling mod_deflate/gzip globally on cPanel</title>
		<link>http://bloke.org/linux/enabling-mod_deflategzip-globally-on-cpanel/</link>
		<comments>http://bloke.org/linux/enabling-mod_deflategzip-globally-on-cpanel/#comments</comments>
		<pubDate>Tue, 26 Jan 2010 15:17:09 +0000</pubDate>
		<dc:creator>Kieran</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[cPanel/WHM]]></category>

		<guid isPermaLink="false">http://bloke.org/?p=651</guid>
		<description><![CDATA[There's far too many reasons to mention why you should enable mod_deflate to gzip your content served by Apache. Simply put, it makes it go fast.
You can enable mod_deflate in cPanel really easily with /scripts/easyapache. Easy.
Once built, you need to tell it to do something. You'll see a new icon on your sites cPanel now, [...]


Related posts:<ol><li><a href='http://bloke.org/linux/apache2-mod_deflate/' rel='bookmark' title='Permanent Link: Apache2 mod_deflate'>Apache2 mod_deflate</a> <small>The mod_deflate module provides the DEFLATE output filter that allows...</small></li>
<li><a href='http://bloke.org/linux/mod_geoip-revisted-including-stopping-spam-in-phpbb-2/' rel='bookmark' title='Permanent Link: mod_geoip Revisted including stopping spam in phpBB 2'>mod_geoip Revisted including stopping spam in phpBB 2</a> <small>I've recently moved a client's forum onto a new cPanel...</small></li>
<li><a href='http://bloke.org/linux/installing-mod_evasive-on-cpanel-andor-apache/' rel='bookmark' title='Permanent Link: Installing mod_evasive on cPanel and/or Apache'>Installing mod_evasive on cPanel and/or Apache</a> <small>This guide details how to install mod_evasive on cPanel to...</small></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>There's far too many reasons to mention why you should enable mod_deflate to gzip your content served by Apache. Simply put, it makes it go fast.</p>
<p>You can enable mod_deflate in cPanel really easily with <a href="http://docs.cpanel.net/twiki/bin/view/EasyApache3/WebHome" target="_blank">/scripts/easyapache</a>. Easy.<span id="more-651"></span></p>
<p><a href="http://bloke.org/wp-content/uploads/2010/01/cpanel-optimise-site.png"><img class="size-thumbnail wp-image-652 alignleft" title="cpanel-optimise-site" src="http://bloke.org/wp-content/uploads/2010/01/cpanel-optimise-site-150x150.png" alt="" width="150" height="150" /></a>Once built, you need to tell it to do something. You'll see a new icon on your sites cPanel now, called "Optimize Site". You can enable it on a per site basis.</p>
<p>Thats all very well, but most users won't know that feature and they will annoy you saying their site isn't very fast.</p>
<p>Lets enable it globally to save any hassle.</p>
<p>You will need to edit your <em>Post VirtualHost Include</em>. In WHM;</p>
<ul>
<li>Apache Configuration</li>
<li>Include Editor</li>
<li>Select <em>All Versions</em> of <em>Post VirtualHost Include</em></li>
<li>Paste the following below</li>
</ul>
<div id="wpshdi_18" class="wp-synhighlighter-inner" style="display: block;"><pre class="apache" style="font-family:monospace;">&lt;<span class="kw3">IfModule</span> mod_deflate.c&gt;
	<span class="kw1">AddOutputFilterByType</span>  DEFLATE text/html text/plain text/xml
&nbsp;
	&lt;<span class="kw3">IfModule</span> mod_setenvif.c&gt;
		<span class="co1"># Netscape 4.x has some problems…</span>
		<span class="kw1">BrowserMatch</span> ^Mozilla/<span class="nu0">4</span> gzip-only-text/html
&nbsp;
		<span class="co1"># Netscape 4.06-4.08 have some more problems</span>
		<span class="kw1">BrowserMatch</span> ^Mozilla/<span class="nu0">4</span>\.0[<span class="nu0">678</span>] no-gzip
&nbsp;
		<span class="co1"># MSIE masquerades as Netscape, but it is fine</span>
		<span class="co1"># BrowserMatch \bMSIE !no-gzip !gzip-only-text/html</span>
&nbsp;
		<span class="co1"># NOTE: Due to a bug in mod_setenvif up to Apache 2.0.48</span>
		<span class="co1"># the above regex won’t work. You can use the following</span>
		<span class="co1"># workaround to get the desired effect:</span>
		<span class="kw1">BrowserMatch</span> \bMSI[E] !no-gzip !gzip-only-text/html
&nbsp;
		<span class="co1"># Don’t compress images</span>
		<span class="kw1">SetEnvIfNoCase</span> Request_URI \
    		\.(?:exe|t?gz|zip|bz2|sit|rar)$ \
		    no-gzip dont-vary
		<span class="kw1">SetEnvIfNoCase</span> Request_URI \.pdf$ no-gzip dont-vary
&nbsp;
	&lt;/<span class="kw3">IfModule</span>&gt;
&nbsp;
	&lt;<span class="kw3">IfModule</span> mod_headers.c&gt;
		<span class="co1"># Make sure proxies don’t deliver the wrong content</span>
		<span class="kw1">Header</span> append Vary User-Agent env=!dont-vary
	&lt;/<span class="kw3">IfModule</span>&gt;
&lt;/<span class="kw3">IfModule</span>&gt;</pre></div>
<p>Restart apache and enjoy.</p>
<p>You can use tools such as YSlow or Google Page Speed to diagnose your gzip savings.</p>


<p>Related posts:<ol><li><a href='http://bloke.org/linux/apache2-mod_deflate/' rel='bookmark' title='Permanent Link: Apache2 mod_deflate'>Apache2 mod_deflate</a> <small>The mod_deflate module provides the DEFLATE output filter that allows...</small></li>
<li><a href='http://bloke.org/linux/mod_geoip-revisted-including-stopping-spam-in-phpbb-2/' rel='bookmark' title='Permanent Link: mod_geoip Revisted including stopping spam in phpBB 2'>mod_geoip Revisted including stopping spam in phpBB 2</a> <small>I've recently moved a client's forum onto a new cPanel...</small></li>
<li><a href='http://bloke.org/linux/installing-mod_evasive-on-cpanel-andor-apache/' rel='bookmark' title='Permanent Link: Installing mod_evasive on cPanel and/or Apache'>Installing mod_evasive on cPanel and/or Apache</a> <small>This guide details how to install mod_evasive on cPanel to...</small></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://bloke.org/linux/enabling-mod_deflategzip-globally-on-cpanel/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
