

<?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 &#187; Apache</title>
	<atom:link href="http://bloke.org/category/apache/feed/" rel="self" type="application/rss+xml" />
	<link>http://bloke.org</link>
	<description>Independent PHP, WordPress &#38; CubeCart Programmer</description>
	<lastBuildDate>Mon, 06 Feb 2012 15:58:50 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
<xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" />
		<item>
		<title>Moving mod_pagespeed&#8217;s file-based cache into RAM</title>
		<link>http://bloke.org/apache/moving-mod_pagespeeds-file-based-cache-into-ram/</link>
		<comments>http://bloke.org/apache/moving-mod_pagespeeds-file-based-cache-into-ram/#comments</comments>
		<pubDate>Fri, 27 Jan 2012 11:15:18 +0000</pubDate>
		<dc:creator>kieran</dc:creator>
				<category><![CDATA[Apache]]></category>
		<category><![CDATA[Scalability]]></category>
		<category><![CDATA[Cache]]></category>
		<category><![CDATA[mod_pagespeed]]></category>
		<category><![CDATA[RAM]]></category>
		<category><![CDATA[Scaling]]></category>

		<guid isPermaLink="false">http://bloke.org/?p=3852</guid>
		<description><![CDATA[Google's mod_pagespeed does a great job at optimising web resources such as HTML, JS, CSS and even images. I use it on a lot of customer production sites as a great partner to APC cache for super fast web sites. I won't go into details on how it works, if you're  reading this, you already [...]
Related posts:<ol>
<li><a href='http://bloke.org/linux/simple-install-of-memcached-on-ubuntu/' rel='bookmark' title='Simple install of memcached on Ubuntu'>Simple install of memcached on Ubuntu</a> <small>Memcached is a free, high performance distributed memory object caching...</small></li>
<li><a href='http://bloke.org/wordpress/using-persistent-cache-in-wordpress-with-apc/' rel='bookmark' title='Using Persistent Cache in WordPress (with APC)'>Using Persistent Cache in WordPress (with APC)</a> <small>Ever since WordPress 2.5, the WP Cache functions haven't been...</small></li>
<li><a href='http://bloke.org/linux/snippet-create-a-large-file-in-linux/' rel='bookmark' title='[Snippet] Create a large file in Linux'>[Snippet] Create a large file in Linux</a> <small>Need to create a large file? For disk speed tests?...</small></li>
</ol>]]></description>
		<wfw:commentRss>http://bloke.org/apache/moving-mod_pagespeeds-file-based-cache-into-ram/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Disabling Core Dumps</title>
		<link>http://bloke.org/php/disabling-core-dumps/</link>
		<comments>http://bloke.org/php/disabling-core-dumps/#comments</comments>
		<pubDate>Wed, 17 Aug 2011 12:58:05 +0000</pubDate>
		<dc:creator>kieran</dc:creator>
				<category><![CDATA[Apache]]></category>
		<category><![CDATA[cPanel/WHM]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Turn Generate]]></category>
		<category><![CDATA[VPS]]></category>
		<category><![CDATA[WHM]]></category>

		<guid isPermaLink="false">http://bloke.org/?p=3416</guid>
		<description><![CDATA[I recently found a (cPanel) server was generating over 100Gb of core dumps every time a bad PHP script died or Apache died. Writing these generally useless (who actually debugs these on a live web server) to disk is a pointless waste of disk I/O, especially in a VPS environment. Here is two methods of [...]
Related posts:<ol>
<li><a href='http://bloke.org/mysql/upgrading-to-mysql-5-1-in-cpanelwhm/' rel='bookmark' title='Upgrading to MySQL 5.1 in cPanel/WHM'>Upgrading to MySQL 5.1 in cPanel/WHM</a> <small>Upgrading to MySQL 5.1 in cPanel is currently not the...</small></li>
<li><a href='http://bloke.org/linux/alternate-messing-with-time-and-date-on-linux/' rel='bookmark' title='Alternate &#8216;Messing with time and date on Linux&#8217;'>Alternate &#8216;Messing with time and date on Linux&#8217;</a> <small>Following up from a previous post, some hypervisors like Xen...</small></li>
<li><a href='http://bloke.org/linux/mod_geoip-revisted-including-stopping-spam-in-phpbb-2/' rel='bookmark' title='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>
</ol>]]></description>
		<wfw:commentRss>http://bloke.org/php/disabling-core-dumps/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Disabling Dangerous PHP Functions in a Shared Environment</title>
		<link>http://bloke.org/php/disabling-dangerous-php-functions-in-a-shared-environment/</link>
		<comments>http://bloke.org/php/disabling-dangerous-php-functions-in-a-shared-environment/#comments</comments>
		<pubDate>Fri, 15 Jul 2011 10:25:04 +0000</pubDate>
		<dc:creator>kieran</dc:creator>
				<category><![CDATA[Apache]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[nginx]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Security]]></category>

		<guid isPermaLink="false">http://bloke.org/?p=3270</guid>
		<description><![CDATA[PHP is an incredibly versatile language and if used in the wrong way, either maliciously or by accident has the potential to mess up an entire webserver. This can be a major problem if you are offering a shared hosting environment. There is an often overlooked php.ini setting called disable_functions at hand.This directive allows you [...]
Related posts:<ol>
<li><a href='http://bloke.org/php/disabling-core-dumps/' rel='bookmark' title='Disabling Core Dumps'>Disabling Core Dumps</a> <small>I recently found a (cPanel) server was generating over 100Gb...</small></li>
<li><a href='http://bloke.org/linux/minify-css-fly-nginx/' rel='bookmark' title='Minify CSS on the fly with nginx'>Minify CSS on the fly with nginx</a> <small>Code minification rules, but it sucks. The process of removing...</small></li>
<li><a href='http://bloke.org/wordpress/redirecting-a-custom-post-type/' rel='bookmark' title='Redirecting a custom post type'>Redirecting a custom post type</a> <small>Ever had to rename a custom post type? Pain in...</small></li>
</ol>]]></description>
		<wfw:commentRss>http://bloke.org/php/disabling-dangerous-php-functions-in-a-shared-environment/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>cPanel Apache Tuning</title>
		<link>http://bloke.org/apache/cpanel-apache-tuning/</link>
		<comments>http://bloke.org/apache/cpanel-apache-tuning/#comments</comments>
		<pubDate>Mon, 22 Nov 2010 22:04:19 +0000</pubDate>
		<dc:creator>Kieran</dc:creator>
				<category><![CDATA[Apache]]></category>
		<category><![CDATA[cPanel/WHM]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[Enable Mod Bandwidth]]></category>
		<category><![CDATA[Enable Mod Security]]></category>
		<category><![CDATA[OS]]></category>
		<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://bloke.org/?p=794</guid>
		<description><![CDATA[One of the first things I do is run /scripts/easyapache and rebuild my PHP / Apache configuration. I usually select Apache 2.2 and PHP 5.2.9. At the time of writing I stay away from the 5.3 versions as they aren't supported by programs and programmers enough yet. Although this guide was originally inspired from a [...]
Related posts:<ol>
<li><a href='http://bloke.org/linux/installing-mod_evasive-on-cpanel-andor-apache/' rel='bookmark' title='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/cpanelwhm/anonymous-apache-php-for-cpanel/' rel='bookmark' title='Anonymous apache &amp; 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>
<li><a href='http://bloke.org/linux/enabling-mod_deflategzip-globally-on-cpanel/' rel='bookmark' title='Enabling mod_deflate/gzip globally on cPanel'>Enabling mod_deflate/gzip globally on cPanel</a> <small>There's far too many reasons to mention why you should...</small></li>
</ol>]]></description>
		<wfw:commentRss>http://bloke.org/apache/cpanel-apache-tuning/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>PCI Compliance &#8211; Disable SSLv2 and Weak Ciphers</title>
		<link>http://bloke.org/apache/pci-compliance-disable-sslv2-and-weak-ciphers/</link>
		<comments>http://bloke.org/apache/pci-compliance-disable-sslv2-and-weak-ciphers/#comments</comments>
		<pubDate>Sat, 06 Nov 2010 19:12:21 +0000</pubDate>
		<dc:creator>Kieran</dc:creator>
				<category><![CDATA[Apache]]></category>
		<category><![CDATA[IIS]]></category>
		<category><![CDATA[credit]]></category>
		<category><![CDATA[IPSEC]]></category>
		<category><![CDATA[PCI]]></category>
		<category><![CDATA[SSL]]></category>

		<guid isPermaLink="false">http://bloke.org/?p=883</guid>
		<description><![CDATA[Section 4.1 of the the Payment Card Industry Data Security Standard (PCI-DSS) v1.2, merchants handling credit card data are required to “use strong cryptography and security protocols such as SSL/TLS or IPSEC to safeguard sensitive cardholder data during transmission over open, public networks.” Huh? It means you need to disable SSLv2 and other weak ciphers. [...]
Related posts:<ol>
<li><a href='http://bloke.org/windows/ridiculously-simple-ntlm-authentication-for-apache-ubuntu/' rel='bookmark' title='Ridiculously simple NTLM Authentication for Apache (Ubuntu)'>Ridiculously simple NTLM Authentication for Apache (Ubuntu)</a> <small>We all know Ubuntu makes things amazingly simple. This is...</small></li>
<li><a href='http://bloke.org/linux/mod_geoip-revisted-including-stopping-spam-in-phpbb-2/' rel='bookmark' title='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/install-the-remi-repo-in-centos/' rel='bookmark' title='Install the Remi Repo in CentOS'>Install the Remi Repo in CentOS</a> <small>The Remi Repo is a yum repository maintained by a...</small></li>
</ol>]]></description>
		<wfw:commentRss>http://bloke.org/apache/pci-compliance-disable-sslv2-and-weak-ciphers/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Apache redirects based on IP Address/Subnet</title>
		<link>http://bloke.org/apache/apache-redirects-based-on-ip-addresssubnet/</link>
		<comments>http://bloke.org/apache/apache-redirects-based-on-ip-addresssubnet/#comments</comments>
		<pubDate>Fri, 05 Nov 2010 09:55:36 +0000</pubDate>
		<dc:creator>Kieran</dc:creator>
				<category><![CDATA[Apache]]></category>
		<category><![CDATA[IP]]></category>

		<guid isPermaLink="false">http://bloke.org/?p=888</guid>
		<description><![CDATA[Ever needed to redirect a source IP address or source subnet in apache? Why? Redirect annoying spam bots, users or other individuals away from your blog for example. Slam the following code into your .htaccess file or VirtualHost Directive.Permanently redirect a host range request for entire site Options +FollowSymlinks RewriteEngine on RewriteCond %{REMOTE_HOST} 1\.2\.3\.4 RewriteRule [...]
Related posts:<ol>
<li><a href='http://bloke.org/linux/htaccess-redirect-based-on-requested-domain/' rel='bookmark' title='.htaccess redirect based on requested domain'>.htaccess redirect based on requested domain</a> <small>Imagine you have a selection of domain names that point...</small></li>
<li><a href='http://bloke.org/geeky/redirect-a-www-prefixed-site-to-a-non-www-prefix/' rel='bookmark' title='Redirect a www prefixed site to a non-www prefix'>Redirect a www prefixed site to a non-www prefix</a> <small>I like clean URLs. Add this to your .htaccess in...</small></li>
<li><a href='http://bloke.org/geeky/block-countries-in-apache/' rel='bookmark' title='Block Countries in Apache'>Block Countries in Apache</a> <small>Assuming you have mod_geoip installed in apache we can block...</small></li>
</ol>]]></description>
		<wfw:commentRss>http://bloke.org/apache/apache-redirects-based-on-ip-addresssubnet/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>[Snippet] Where are my cPanel logs at?</title>
		<link>http://bloke.org/apache/snippet-where-are-my-cpanel-logs-at/</link>
		<comments>http://bloke.org/apache/snippet-where-are-my-cpanel-logs-at/#comments</comments>
		<pubDate>Thu, 04 Nov 2010 18:52:27 +0000</pubDate>
		<dc:creator>kieran</dc:creator>
				<category><![CDATA[Apache]]></category>
		<category><![CDATA[cPanel/WHM]]></category>

		<guid isPermaLink="false">http://bloke.org/?p=904</guid>
		<description><![CDATA[You've got a main error log at /etc/httpd/logs/ And cPanel's logs are in /usr/local/cpanel/logs/ Related posts: [Snippet] Stupid Simple cPanel Install Open a clean server, Go have your lunch. Maybe lunch... Upgrading to MySQL 5.1 in cPanel/WHM Upgrading to MySQL 5.1 in cPanel is currently not the... Installing mod_evasive on cPanel and/or Apache This guide [...]
Related posts:<ol>
<li><a href='http://bloke.org/cpanelwhm/snippet-stupid-simple-cpanel-install/' rel='bookmark' title='[Snippet] Stupid Simple cPanel Install'>[Snippet] Stupid Simple cPanel Install</a> <small>Open a clean server, Go have your lunch. Maybe lunch...</small></li>
<li><a href='http://bloke.org/mysql/upgrading-to-mysql-5-1-in-cpanelwhm/' rel='bookmark' title='Upgrading to MySQL 5.1 in cPanel/WHM'>Upgrading to MySQL 5.1 in cPanel/WHM</a> <small>Upgrading to MySQL 5.1 in cPanel is currently not the...</small></li>
<li><a href='http://bloke.org/linux/installing-mod_evasive-on-cpanel-andor-apache/' rel='bookmark' title='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>
		<wfw:commentRss>http://bloke.org/apache/snippet-where-are-my-cpanel-logs-at/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Smarty Security &#8211; Stop .tpl access</title>
		<link>http://bloke.org/php/smarty-security-stop-tpl-access/</link>
		<comments>http://bloke.org/php/smarty-security-stop-tpl-access/#comments</comments>
		<pubDate>Mon, 16 Aug 2010 23:12:55 +0000</pubDate>
		<dc:creator>Kieran</dc:creator>
				<category><![CDATA[Apache]]></category>
		<category><![CDATA[cPanel/WHM]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[WHMCS]]></category>

		<guid isPermaLink="false">http://bloke.org/?p=826</guid>
		<description><![CDATA[WHMCS uses the Smarty template engine. Which means your .tpl files are accessible to anyone that knows the path. Quite easy in WHMCS. Whilst not really a major security risk, its bad practise to all these files to be accessed directly. Add this code into your .htaccess file. Related posts: [Snippet] Allow PHP in Smarty [...]
Related posts:<ol>
<li><a href='http://bloke.org/php/snippet-allow-php-in-smarty-cubecart-5/' rel='bookmark' title='[Snippet] Allow PHP in Smarty (CubeCart 5)'>[Snippet] Allow PHP in Smarty (CubeCart 5)</a> <small>Although it is generally bad practise to put PHP code...</small></li>
<li><a href='http://bloke.org/apache/redirecting-non-www-to-a-www-prefix/' rel='bookmark' title='Redirecting non-www to a www prefix'>Redirecting non-www to a www prefix</a> <small>This old chestnut again. Create or edit the .htaccess file...</small></li>
<li><a href='http://bloke.org/uncategorized/ssh-security-ramblings/' rel='bookmark' title='SSH Security Ramblings'>SSH Security Ramblings</a> <small>SSH - Secure Shell isn't that secure. If you're not...</small></li>
</ol>]]></description>
		<wfw:commentRss>http://bloke.org/php/smarty-security-stop-tpl-access/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>[Snippet] Redirecting Non-SSL Traffic to SSL</title>
		<link>http://bloke.org/apache/snippet-redirecting-non-ssl-traffic-to-ssl/</link>
		<comments>http://bloke.org/apache/snippet-redirecting-non-ssl-traffic-to-ssl/#comments</comments>
		<pubDate>Tue, 15 Jun 2010 15:08:38 +0000</pubDate>
		<dc:creator>Kieran</dc:creator>
				<category><![CDATA[Apache]]></category>

		<guid isPermaLink="false">http://bloke.org/?p=751</guid>
		<description><![CDATA[Related posts: Redirecting non-www to a www prefix This old chestnut again. Create or edit the .htaccess file... Redirect a www prefixed site to a non-www prefix I like clean URLs. Add this to your .htaccess in... Apache redirects based on IP Address/Subnet Ever needed to redirect a source IP address or source...
Related posts:<ol>
<li><a href='http://bloke.org/apache/redirecting-non-www-to-a-www-prefix/' rel='bookmark' title='Redirecting non-www to a www prefix'>Redirecting non-www to a www prefix</a> <small>This old chestnut again. Create or edit the .htaccess file...</small></li>
<li><a href='http://bloke.org/geeky/redirect-a-www-prefixed-site-to-a-non-www-prefix/' rel='bookmark' title='Redirect a www prefixed site to a non-www prefix'>Redirect a www prefixed site to a non-www prefix</a> <small>I like clean URLs. Add this to your .htaccess in...</small></li>
<li><a href='http://bloke.org/apache/apache-redirects-based-on-ip-addresssubnet/' rel='bookmark' title='Apache redirects based on IP Address/Subnet'>Apache redirects based on IP Address/Subnet</a> <small>Ever needed to redirect a source IP address or source...</small></li>
</ol>]]></description>
		<wfw:commentRss>http://bloke.org/apache/snippet-redirecting-non-ssl-traffic-to-ssl/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Redirecting non-www to a www prefix</title>
		<link>http://bloke.org/apache/redirecting-non-www-to-a-www-prefix/</link>
		<comments>http://bloke.org/apache/redirecting-non-www-to-a-www-prefix/#comments</comments>
		<pubDate>Sat, 22 May 2010 11:43:38 +0000</pubDate>
		<dc:creator>Kieran</dc:creator>
				<category><![CDATA[Apache]]></category>
		<category><![CDATA[COM]]></category>
		<category><![CDATA[YOURDOMAIN]]></category>

		<guid isPermaLink="false">http://bloke.org/?p=748</guid>
		<description><![CDATA[This old chestnut again. Create or edit the .htaccess file Related posts: Redirect a www prefixed site to a non-www prefix I like clean URLs. Add this to your .htaccess in... [Snippet] Redirecting Non-SSL Traffic to SSL ... Apache redirects based on IP Address/Subnet Ever needed to redirect a source IP address or source...
Related posts:<ol>
<li><a href='http://bloke.org/geeky/redirect-a-www-prefixed-site-to-a-non-www-prefix/' rel='bookmark' title='Redirect a www prefixed site to a non-www prefix'>Redirect a www prefixed site to a non-www prefix</a> <small>I like clean URLs. Add this to your .htaccess in...</small></li>
<li><a href='http://bloke.org/apache/snippet-redirecting-non-ssl-traffic-to-ssl/' rel='bookmark' title='[Snippet] Redirecting Non-SSL Traffic to SSL'>[Snippet] Redirecting Non-SSL Traffic to SSL</a> <small>...</small></li>
<li><a href='http://bloke.org/apache/apache-redirects-based-on-ip-addresssubnet/' rel='bookmark' title='Apache redirects based on IP Address/Subnet'>Apache redirects based on IP Address/Subnet</a> <small>Ever needed to redirect a source IP address or source...</small></li>
</ol>]]></description>
		<wfw:commentRss>http://bloke.org/apache/redirecting-non-www-to-a-www-prefix/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

