<?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>Kirrus' Blog &#187; apache</title>
	<atom:link href="http://kirrus.co.uk/tag/apache/feed/" rel="self" type="application/rss+xml" />
	<link>http://kirrus.co.uk</link>
	<description>MindDump. Photos. And random ramblings.</description>
	<lastBuildDate>Mon, 26 Jul 2010 21:44:23 +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>Dear Apache</title>
		<link>http://kirrus.co.uk/2009/06/dear-apache/</link>
		<comments>http://kirrus.co.uk/2009/06/dear-apache/#comments</comments>
		<pubDate>Fri, 26 Jun 2009 13:07:30 +0000</pubDate>
		<dc:creator>Kirrus</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Ubuntu-UK Planet]]></category>
		<category><![CDATA[annoying]]></category>
		<category><![CDATA[apache]]></category>
		<category><![CDATA[cli]]></category>
		<category><![CDATA[rant]]></category>

		<guid isPermaLink="false">http://kirrus.co.uk/?p=264</guid>
		<description><![CDATA[Dear Apache. My idea of fun is not to find out about a missing log directory, when I test a website after a restart. My idea of fun would be for apache2ctrl configtest to actually, you know, work. Or, even better, don&#8217;t utterly die when you&#8217;re missing a log directory. GRRRRR Dear Customer. Please make [...]]]></description>
			<content:encoded><![CDATA[<p>Dear Apache. My idea of fun is not to find out about a missing log directory, when I test a website after a restart. My idea of fun would be for apache2ctrl configtest to actually, you know, work. Or, even better, don&#8217;t utterly die when you&#8217;re missing a log directory.</p>
<p>GRRRRR</p>
<p>Dear Customer. Please make sure you remove apache configuration, when you delete your users. I don&#8217;t enjoy being woken at 6am because logrotate restarted apache. Athough, on the upside, at least I get paid for it.</p>
]]></content:encoded>
			<wfw:commentRss>http://kirrus.co.uk/2009/06/dear-apache/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Moved &amp; a couple of Apache2 tools/tricks</title>
		<link>http://kirrus.co.uk/2008/07/moved-a-couple-of-apache2-toolstricks/</link>
		<comments>http://kirrus.co.uk/2008/07/moved-a-couple-of-apache2-toolstricks/#comments</comments>
		<pubDate>Sun, 20 Jul 2008 13:50:57 +0000</pubDate>
		<dc:creator>Kirrus</dc:creator>
				<category><![CDATA[Internet]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[apache]]></category>
		<category><![CDATA[work]]></category>

		<guid isPermaLink="false">http://kirrus.co.uk/?p=35</guid>
		<description><![CDATA[If you can can see this post, then my server move is complete. I have moved this blog across to a dedicated server, provided by my employers, Positive Internet. So far, I&#8217;ve not done too much playing with it, but in case you need to know, adding this in your apache2.conf file will allow it [...]]]></description>
			<content:encoded><![CDATA[<p>If you can can see this post, then my server move is complete. I have moved this blog across to a dedicated server, provided by my employers, <a title="Positive Internet Shared, Dedicated and Managed hosting" href="http://positive-internet.com">Positive Internet</a>.</p>
<p>So far, I&#8217;ve not done too much playing with it, but in case you need to know, adding this in your apache2.conf file will allow it to read .htaccess files in any /home/&lt;username&gt;/public_html/ document roots &#8211; handy if you don&#8217;t want to use /var/www/ to store all your websites.</p>
<pre>&lt;Directory /home/*/public_html&gt;
        AllowOverride All
&lt;/Directory&gt;</pre>
<p>There are a couple of useful apache2 tools which don&#8217;t get a lot of publicity.</p>
<p><strong>a2enmod</strong> &#8211; enable a mod in apache. You&#8217;ll need to reload apache after running it. If you run it without specifying a mod, it will list all available ones.</p>
<p><strong>a2dismod</strong> &#8211; disable a mod. Again, if you run it without specifying a mod it will list all enabled ones, before giving you a prompt asking which one to disable.</p>
<p>Along similar lines, if you&#8217;re using sites-available/sites-enabled to quickly enable/disable vhosts, you can use:</p>
<p><strong>a2ensite</strong> &#8211; enable a website.</p>
<p><strong>a2dissite</strong> &#8211; disable a website.</p>
<p>Of course, you can then use <strong>apache2ctl graceful</strong> to restart the webserver nicely &#8211; so the changes take effect, but you don&#8217;t close all the connections currently talking to apache.</p>
<p>Have fun!</p>
]]></content:encoded>
			<wfw:commentRss>http://kirrus.co.uk/2008/07/moved-a-couple-of-apache2-toolstricks/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>
