<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
	
	<channel>
		<title>Exaflop Site News</title>
		<link>http://www.exaflop.org/exaflop_news.php</link>
		<description>Just news about Exaflop.org</description>
		<language>en</language>
		<managingEditor>blog-rich@exaflop.org</managingEditor>
                <copyright>Copyright 2008</copyright>
		<generator>Pivot Pivot - 1.40.1: 'Dreadwind'</generator>
		<pubDate>Tue, 06 May 2008 02:40:56 -0600</pubDate>
		<ttl>60</ttl>
		
		
		
		
		<item>
			<title>Time to get this thing moving again</title>
			<link>http://www.exaflop.org/pivot/entry.php?id=103&amp;w=exaflop_site_news</link>
			<comments>http://www.exaflop.org/pivot/entry.php?id=103&amp;w=exaflop_site_news#comm</comments>
                        <description><![CDATA[ Yes, this blog isn&#39;t quite dead yet. With the new Formula 1 season approaching, the Racing Blog will be back in action with more commentary and analysis. The tech blog on the front page of Exaflop.org will be a lot busier I hope. ]]></description>
			<guid isPermaLink="false">103@http://exaflop.org/pivot/</guid>
			<category>Exaflop Site News, Racing Blog Announcements</category>
			<pubDate>Wed, 28 Feb 2007 17:09:00 -0600</pubDate>
		</item>
		
		
		
		<item>
			<title>Sorry about the lack of postings</title>
			<link>http://www.exaflop.org/pivot/entry.php?id=93&amp;w=exaflop_site_news</link>
			<comments>http://www.exaflop.org/pivot/entry.php?id=93&amp;w=exaflop_site_news#comm</comments>
                        <description><![CDATA[ Sorry about the lack of action here lately on the exaflop.org blogs. Starting a new job (in another town and thus not having access to my own PC), a death in the family and the extreme heat has conspired to keep my off here. Should be getting back to normal soon-ish tho. ]]></description>
			<guid isPermaLink="false">93@http://exaflop.org/pivot/</guid>
			<category>Exaflop Site News, Racing Blog Announcements</category>
			<pubDate>Mon, 07 Aug 2006 15:32:00 -0600</pubDate>
		</item>
		
		
		
		<item>
			<title>Comments re-enabled. Expect some more posts soon</title>
			<link>http://www.exaflop.org/pivot/entry.php?id=69&amp;w=exaflop_site_news</link>
			<comments>http://www.exaflop.org/pivot/entry.php?id=69&amp;w=exaflop_site_news#comm</comments>
                        <description><![CDATA[ <p>The Pivot team have released a new version of <a href="http://www.pivotlog.net/" target="_blank">Pivot</a> (the blogging software the powers this site). After virtually every Pivot user saw a massive influx of comment and trackback spam, they&#39;ve rolled the spam protection features that were previously add-ons into the main package. I don&#39;t know how well it will work but we&#39;ll soon see as I&#39;ve re-enabled comments and trackbacks for all the blogs on exaflop.org.</p><p>As a consequence of the spam-protection measures, <strong>commenters will need to have Javascript enabled on their browsers in order to leave comments</strong>. If you don&#39;t know what this means, you&#39;re probably OK - Javascript is enabled by default on most computers.&nbsp;</p><p>Also, put off by the spam situation and also distracted by a &#39;heavy to industrial-strength&#39; <a href="http://www.worldofwarcraft.com/" target="_blank">World of Warcraft</a> addiction, I haven&#39;t posted for a while. Don&#39;t worry, I still have plenty to say! Expect more posts soon, meanwhile please accept my thanks for reading this site if you are subscribed to my RSS feed and haven&#39;t given up by now :)</p> ]]></description>
			<guid isPermaLink="false">69@http://exaflop.org/pivot/</guid>
			<category>Exaflop Site News, Racing Blog Announcements</category>
			<pubDate>Thu, 04 May 2006 18:21:00 -0600</pubDate>
		</item>
		
		
		
		<item>
			<title>Comments disabled</title>
			<link>http://www.exaflop.org/pivot/entry.php?id=68&amp;w=exaflop_site_news</link>
			<comments>http://www.exaflop.org/pivot/entry.php?id=68&amp;w=exaflop_site_news#comm</comments>
                        <description><![CDATA[ I've temporarilly disabled comments on this blog (and in a really hacky way) due to a flood of comment spam. I'll open them up again when I've put measures in place. In the meantime, if you need to make a comment, email me using the link at the bottom of this post and I'll add the comments manually. ]]></description>
			<guid isPermaLink="false">68@http://exaflop.org/pivot/</guid>
			<category>Exaflop Site News, Racing Blog Announcements</category>
			<pubDate>Sun, 19 Mar 2006 16:54:00 -0600</pubDate>
		</item>
		
		
		
		<item>
			<title>Brief weekend outage due to Apache and H-Sphere</title>
			<link>http://www.exaflop.org/pivot/entry.php?id=36&amp;w=exaflop_site_news</link>
			<comments>http://www.exaflop.org/pivot/entry.php?id=36&amp;w=exaflop_site_news#comm</comments>
                        <description><![CDATA[ Exaflop.org became unavailable on Sunday night until early Monday morning. Sunday is usually the best time of the week to have your website unavailable, but this past Sunday was extra good timing what with the Superbowl. The website was unavailable because I had to change it's IP address and the DNS update takes time to propogate. Read on for the reasons why.<p>It started when I noticed, having written some php for the site, that when I navigated to an address like http://www.exaflop.org/docs in my browser, the address would be changed to http://exaflop.org/docs/&nbsp; i.e. it was losing the &quot;www.&quot; part of the domain name somehow. This turns out to be a problem in two ways:</p> <ol>   <li>Any cookies the site issues will be duplicated because cookies are identified by both their name and the domain they come from. I'd recently written some javascript for the site sidebar that uses a cookie to determine if the Docs section is open or not and it stores a cookie to retain that state between pages. Having the domain change makes the behaviour inconsistent.</li>   <li>Images are cached by the browser based on their full URL, so if the domain changes like the above example, you end up with two copies of the images in the cache and a less responsive user experience.</li> </ol> <p>The reason this happens is down to the way Apache rewrites URLs that refer to a directory rather than a file. /docs on this server is a directory. The server is set up so that if you request a directory it will look in that directory for index.php and serve that if found, if not it looks for index.html before giving up. This is configured by playing the following in the .htaccess file in the webroot:</p> <pre style="margin-left: 40px">DirectoryIndex index.php index.html</pre> <p>When this directive is followed though, Apache doesn't just go ahead and serve the index.php file. It adds a slash to the end of the URL to signify that it's serving a directory if it isn't already there. More importantly though it changes the domain name to whatever is in the ServerName directive in the VirtualHost entry for the site in the httpd.conf file. Mine was set to &quot;exaflop.org&quot; which explains why the &quot;www.&quot; part got lost. The reason you could access the site as www.exaflop.org as well was because there is also a ServerAlias directive.<br /> </p><p>How to fix? Well... if it was my server I'd just have changed the ServerName field to www.exaflop.org and got rid of the ServerAlias. This is where things get complicated though, because I'm using shared hosting at the moment and the hosts are managed using the 'popular' H-Sphere control panel. That doesn't let you change the ServerName directive to Apache. After a couple of support emails I was told the solution is to: remove the server alias; add a sub-domain of &quot;www&quot; which results in www.exaflop.org and exaflop.org being treated as completely seperate sites with their own webroots and everything; then I transfer my files across to the new webroot and set up a mod_rewrite rule on the exaflop.org webroot to redirect all requests over to the equivalent location with www.exaflop.org as the domain. </p><p>The problem with this plan is that H-Sphere really does treat the different domains as seperate sites and that extends to their IP addresses. I'd taken the option earlier to have exaflop.org on a dedicated IP address. That meant that www.exaflop.org would have a different IP address from before whatever I did. So I made www.exaflop.org a dedicated IP and reverted exaflop.org back to a shared IP address. My hosting company doesn't charge extra for IP addresses, but there's no sense in wasting them. Unfortunately this now meant that the site was effectively down until the DNS changes propogated across the net.</p><p>On Monday morning the DNS changes had come through for me and www.exaflop.org was showing the H-Sphere holding page, so I logged into the host and moved the files across. Then I entered this in the .htaccess file for exaflop.org :-</p> <pre style="margin-left: 40px">RewriteEngine On<br />RewriteCond %{HTTP_HOST} !^www.<br />RewriteRule ^(.*)$ http://www.%{HTTP_HOST}/$1 [R=301,L]</pre> <p>Now it all works as expected. It was a lot of work to get around a small design issue with Apache (I won't call it a bug, but why does it need to change the domain like this?) which is made worse by H-Sphere being 'difficult'. I should mention that the support from my webhosting company was great as usual. They're not the cheapest around, but the support is good so you might want to give them a look: <a href="http://www.qwk.net/" target="_blank">QWK.net</a></p> ]]></description>
			<guid isPermaLink="false">36@http://exaflop.org/pivot/</guid>
			<category>Exaflop Site News</category>
			<pubDate>Mon, 06 Feb 2006 19:46:00 -0600</pubDate>
		</item>
		
		
		
		<item>
			<title>New Phase For Exaflop</title>
			<link>http://www.exaflop.org/pivot/entry.php?id=7&amp;w=exaflop_site_news</link>
			<comments>http://www.exaflop.org/pivot/entry.php?id=7&amp;w=exaflop_site_news#comm</comments>
                        <description><![CDATA[ Exaflop.org has been online since 1998 hosting docs about game
development and computing in general. At one time it was on a dedicated
server that cost a fortune (far more than it would now). When we scaled
back to the current hosting provider the site got broken in several
ways. Recently I've been trying to get things back working so that
people can read all the old docs and to make it easier to post new docs
(something that's badly needed!). At the same time I've wanted to
implement a blog system with RSS feeds in order to keep pace with the
way web sites are managed these days. This is the first post to the new
Exaflop front page and will hopefully be the first of many.</p> ]]></description>
			<guid isPermaLink="false">7@http://exaflop.org/pivot/</guid>
			<category>Exaflop Site News</category>
			<pubDate>Sun, 04 Dec 2005 19:32:00 -0600</pubDate>
		</item>
		
		
		
	</channel>
</rss>
