<?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>Adrian Smith&#039;s Blog &#187; ubuntu</title>
	<atom:link href="http://www.17od.com/tag/ubuntu/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.17od.com</link>
	<description></description>
	<lastBuildDate>Sun, 20 Nov 2011 20:04: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>Installing Mercurial with Apache</title>
		<link>http://www.17od.com/2008/04/02/installing-mercurial-with-apache/</link>
		<comments>http://www.17od.com/2008/04/02/installing-mercurial-with-apache/#comments</comments>
		<pubDate>Wed, 02 Apr 2008 18:34:14 +0000</pubDate>
		<dc:creator>Adrian</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[howto]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[mercurial]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://www.17od.com/?p=71</guid>
		<description><![CDATA[If you&#8217;ve been following one of these guides explaining how to configure Mercurial with Apache you may have encountered the following error&#8230; TypeError: 'hgwebdir' object is not callable There may be a number of scenarios under which this error can happen but in my case it was because I was using an incompatible version hgwebdir.cgi. [...]]]></description>
			<content:encoded><![CDATA[<p>If you&#8217;ve been following <a href="http://www.selenic.com/mercurial/wiki/index.cgi/PublishingRepositories">one</a> of <a href="http://www.selenic.com/mercurial/wiki/index.cgi/HgWebDirStepByStep">these</a> <a href="http://digitalspaghetti.me.uk/2007/11/setting-up-a-mercurial-repository-from-svn-for-dummies-like-me/">guides</a> explaining how to configure Mercurial with Apache you may have encountered the following error&#8230;</p>
<pre><code>TypeError: 'hgwebdir' object is not callable</code></pre>
<p>There may be a number of scenarios under which this error can happen but in my case it was because I was using an incompatible version hgwebdir.cgi. After installing Mercurial 0.9.4 I downloaded hgwebdir.cgi from <a href="http://www.selenic.com/repo/hg-stable/raw-file/tip/hgwebdir.cgi">here</a> (which at the time of writing was for Mercurial 1.0). To fix the problem I had to use the version of hgwebdir.cgi that came with the Mercurial 0.9.4 install. On Ubuntu you&#8217;ll find it here /usr/share/doc/mercurial/examples/hgwebdir.cgi.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.17od.com/2008/04/02/installing-mercurial-with-apache/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Apache2 on Ubuntu</title>
		<link>http://www.17od.com/2006/02/03/apache2-on-ubuntu/</link>
		<comments>http://www.17od.com/2006/02/03/apache2-on-ubuntu/#comments</comments>
		<pubDate>Sat, 04 Feb 2006 02:27:59 +0000</pubDate>
		<dc:creator>Adrian</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[apache]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://70.103.16.167/~onesevod/?p=4</guid>
		<description><![CDATA[I was installing Trac on Ubuntu the other day and I was really impressed with the new (well new as far as I&#8217;m concerned) Apache file layout. In order to load modules you no longer have to add a LoadModule directive to the main config file. Instead, when you install a module using apt-get a [...]]]></description>
			<content:encoded><![CDATA[<p>I was installing <a title="Trac" href="http://projects.edgewall.com/trac/">Trac</a> on <a title="Ubuntu" href="http://www.ubuntu.com/">Ubuntu</a> the other day and I was really impressed with the new (well new as far as I&#8217;m concerned) Apache file layout.</p>
<p>In order to load modules you no longer have to add a <strong>LoadModule</strong> directive to the main config file. Instead, when you install a module using <strong>apt-get</strong> a file call <strong>&lt;module_name&gt;.load</strong> is created in the directory <code>/etc/apache2/mods-available</code>. If the module has any configuration associated with it then a seperate file called <strong>&lt;module_name&gt;.conf</strong> is also created in the same directory. To enable the module you create a symbolic link to each of these two files in the directory <code>/etc/apache2/mods-enabled</code>. When Apache starts it simply <em>includes</em> all the files in this directory. The commands <em>a2enmod</em> and <em>a2dismod</em> can manage all this for you if you don&#8217;t want to create/remove the links yourself, e.g. <code>sudo a2enmod userdir</code>, <code>sudo a2dismod userdir</code>.</p>
<p>Virtual hosts are managed in a very similar fashion. To create a new virtual host create a file in the directory <code>/etc/apache2/sites-available</code> containing the <code>VirtualHost</code> directive. To enable this host you create a symbolic link to this file in the directory <code>/etc/apache2/sites-enabled</code>. The commands <code>a2ensite</code> and <code>a2dissite</code> can manage all this for you, e.g. <code>sudo a2ensite subversion</code>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.17od.com/2006/02/03/apache2-on-ubuntu/feed/</wfw:commentRss>
		<slash:comments>11</slash:comments>
		</item>
	</channel>
</rss>

