<?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>welp&#039;s blog &#187; Sysadmin</title>
	<atom:link href="http://01welp.co.uk/category/open-source/sysadmin/feed/" rel="self" type="application/rss+xml" />
	<link>http://01welp.co.uk</link>
	<description>random ramblings from welp</description>
	<lastBuildDate>Wed, 05 May 2010 18:01:53 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.3</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Fixing up Narcissus&#8217;s server</title>
		<link>http://01welp.co.uk/2009/03/fixing-up-narcissuss-server/</link>
		<comments>http://01welp.co.uk/2009/03/fixing-up-narcissuss-server/#comments</comments>
		<pubDate>Sun, 08 Mar 2009 19:49:38 +0000</pubDate>
		<dc:creator>welp</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Sysadmin]]></category>
		<category><![CDATA[Admin]]></category>
		<category><![CDATA[Apache]]></category>
		<category><![CDATA[Broken]]></category>
		<category><![CDATA[CMS]]></category>
		<category><![CDATA[Drupal]]></category>
		<category><![CDATA[House]]></category>

		<guid isPermaLink="false">http://01welp.co.uk/?p=8</guid>
		<description><![CDATA[Right, I&#8217;ve spent most of the weekend sorting out various Apache/DNS/VirtualHost issues on Narcissus&#8217;s new VPS. He&#8217;s got five IP addresses pointing at his VPS, and randomly assigned them to the various sites hosted on the server&#8230; I wasn&#8217;t best pleased with this, so split the sites into various categories, assigned them an IP address [...]]]></description>
			<content:encoded><![CDATA[<p>Right, I&#8217;ve spent most of the weekend sorting out various Apache/DNS/VirtualHost issues on Narcissus&#8217;s new VPS. He&#8217;s got five IP addresses pointing at his VPS, and randomly assigned them to the various sites hosted on the server&#8230; I wasn&#8217;t best pleased with this, so split the sites into various categories, assigned them an IP address based on that, and redid the DNS.</p>
<p>After sorting that lot out, it was time to sort out the filesystem locations where the sites were being hosted. The VirtualHost directives were originally pointing at content in <code>~user/public_html</code>. I find that this has a number of issues, especially when the user wants to have multiple subdomains, and also when users want to put actual content in their <code>~user/public_html</code> to be made available via <code>http://foo.bar.com/~user</code>. It is also a lot less centralised, and especially in cases where the user has no account on the server, can lead to a lot of unused user accounts, which I consider to be a security liability. As such, I prefer to host sites in <code>/var/www/$site_name/htdocs</code> with their logfiles stored in <code>/var/www/$site_name/logs</code>. This leads to a system which is much easier to manage as all the sites are centralised. If a user needs to make changes to their site, there&#8217;s a symlink created to <code>~user/sites/$site_name</code>, which leads back to the site in <code>/var</code>.</p>
<p>So, we hacked together a quick script to move sites to the proper location, update the httpd.conf, and ran that, which solved the &#8220;problem&#8221; fairly quickly.</p>
<p>After doing all of that, I decided to get some content up on our new house website (the group of students I&#8217;m living with next year decided to make a website for the house, with aggregated blog feeds, house rules, news, forums (for debating issues and so on), and various uses like that. I decided to use Drupal as a CMS, as I decided it offered most of the functuality which I needed, and have been working on getting that up and running. I&#8217;ve still got to sort out the aesthetics side of things, but it should be up and running properly sometime soonish, at which point, I&#8217;ll announce it to the world. <img src='http://01welp.co.uk/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://01welp.co.uk/2009/03/fixing-up-narcissuss-server/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>
