<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><rss 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/" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0">

<channel>
	<title>elwoodicious</title>
	
	<link>http://elwoodicious.com</link>
	<description>Those who can make you believe absurdities can make you commit atrocities. —Voltaire</description>
	<lastBuildDate>Tue, 31 Aug 2010 15:41:11 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/rss+xml" href="http://feeds.feedburner.com/elwoodicious" /><feedburner:info uri="elwoodicious" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><item>
		<title>Lit like a roman candle.</title>
		<link>http://feedproxy.google.com/~r/elwoodicious/~3/KusW2Q7lavw/</link>
		<comments>http://elwoodicious.com/2010/08/31/lit-like-a-roman-candle/#comments</comments>
		<pubDate>Tue, 31 Aug 2010 15:41:11 +0000</pubDate>
		<dc:creator>james</dc:creator>
				<category><![CDATA[Photography]]></category>
		<category><![CDATA[Blur]]></category>
		<category><![CDATA[Gabriella]]></category>
		<category><![CDATA[Running]]></category>
		<category><![CDATA[Summer]]></category>

		<guid isPermaLink="false">http://elwoodicious.com/?p=2237</guid>
		<description><![CDATA[<img src="http://elwoodicious-wp.s3.amazonaws.com/wp-content/uploads/2010/08/IMG_5118.jpg" alt="" title="Lit like a roman candle." width="345" height="194" class="aligncenter size-full wp-image-2222" />]]></description>
			<content:encoded><![CDATA[<p><a href="http://elwoodicious-wp.s3.amazonaws.com/wp-content/uploads/2010/08/IMG_5118.jpg"><img src="http://elwoodicious-wp.s3.amazonaws.com/wp-content/uploads/2010/08/IMG_5118.jpg" alt="" title="Lit like a roman candle." width="864" height="486" class="aligncenter size-full wp-image-2222" /></a></p>
<img src="http://feeds.feedburner.com/~r/elwoodicious/~4/KusW2Q7lavw" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://elwoodicious.com/2010/08/31/lit-like-a-roman-candle/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		<feedburner:origLink>http://elwoodicious.com/2010/08/31/lit-like-a-roman-candle/</feedburner:origLink></item>
		<item>
		<title>Drink deeply of the sun.</title>
		<link>http://feedproxy.google.com/~r/elwoodicious/~3/Kh2BzGEtPrU/</link>
		<comments>http://elwoodicious.com/2010/08/24/drink-deeply-of-the-sun/#comments</comments>
		<pubDate>Tue, 24 Aug 2010 15:37:49 +0000</pubDate>
		<dc:creator>james</dc:creator>
				<category><![CDATA[Photography]]></category>
		<category><![CDATA[Gabriella]]></category>
		<category><![CDATA[Laughing]]></category>
		<category><![CDATA[Summer]]></category>

		<guid isPermaLink="false">http://elwoodicious.com/?p=2235</guid>
		<description><![CDATA[<img src="http://elwoodicious-wp.s3.amazonaws.com/wp-content/uploads/2010/08/IMG_5275.jpg" alt="" title="Drink deeply of the sun." width="194" height="347" class="aligncenter size-full wp-image-2221" />]]></description>
			<content:encoded><![CDATA[<p><a href="http://elwoodicious-wp.s3.amazonaws.com/wp-content/uploads/2010/08/IMG_5275.jpg"><img src="http://elwoodicious-wp.s3.amazonaws.com/wp-content/uploads/2010/08/IMG_5275.jpg" alt="" title="Drink deeply of the sun." width="648" height="1152" class="aligncenter size-full wp-image-2221" /></a></p>
<img src="http://feeds.feedburner.com/~r/elwoodicious/~4/Kh2BzGEtPrU" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://elwoodicious.com/2010/08/24/drink-deeply-of-the-sun/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://elwoodicious.com/2010/08/24/drink-deeply-of-the-sun/</feedburner:origLink></item>
		<item>
		<title>Resting on the threshold.</title>
		<link>http://feedproxy.google.com/~r/elwoodicious/~3/CmHrhIbi-LM/</link>
		<comments>http://elwoodicious.com/2010/08/17/resting-on-the-threshold/#comments</comments>
		<pubDate>Tue, 17 Aug 2010 12:24:37 +0000</pubDate>
		<dc:creator>james</dc:creator>
				<category><![CDATA[Photography]]></category>
		<category><![CDATA[Black & White]]></category>
		<category><![CDATA[Door]]></category>
		<category><![CDATA[Sitting]]></category>
		<category><![CDATA[Ted]]></category>

		<guid isPermaLink="false">http://elwoodicious.com/?p=2230</guid>
		<description><![CDATA[<img src="http://elwoodicious-wp.s3.amazonaws.com/wp-content/uploads/2010/08/IMG_5108.jpg" alt="" title="Resting on the threshold" width="273" height="382" class="aligncenter size-full wp-image-2223" />]]></description>
			<content:encoded><![CDATA[<p><a href="http://elwoodicious-wp.s3.amazonaws.com/wp-content/uploads/2010/08/IMG_5108.jpg"><img src="http://elwoodicious-wp.s3.amazonaws.com/wp-content/uploads/2010/08/IMG_5108.jpg" alt="" title="Resting on the threshold" width="820" height="1147" class="aligncenter size-full wp-image-2223" /></a></p>
<img src="http://feeds.feedburner.com/~r/elwoodicious/~4/CmHrhIbi-LM" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://elwoodicious.com/2010/08/17/resting-on-the-threshold/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		<feedburner:origLink>http://elwoodicious.com/2010/08/17/resting-on-the-threshold/</feedburner:origLink></item>
		<item>
		<title>Down by the river, I shot my baby.</title>
		<link>http://feedproxy.google.com/~r/elwoodicious/~3/7BQ9I1cHpuo/</link>
		<comments>http://elwoodicious.com/2010/08/14/down-by-the-river-i-shot-my-baby/#comments</comments>
		<pubDate>Sat, 14 Aug 2010 13:51:00 +0000</pubDate>
		<dc:creator>james</dc:creator>
				<category><![CDATA[Photography]]></category>
		<category><![CDATA[Barbie]]></category>
		<category><![CDATA[Pool]]></category>
		<category><![CDATA[Toy]]></category>

		<guid isPermaLink="false">http://elwoodicious.com/?p=2219</guid>
		<description><![CDATA[<img src="http://elwoodicious-wp.s3.amazonaws.com/wp-content/uploads/2010/08/IMG_5258.jpg" alt="" title="Down by the river I shot my baby" width="343" height="193" class="aligncenter size-full wp-image-2220" />]]></description>
			<content:encoded><![CDATA[<p><a href="http://elwoodicious-wp.s3.amazonaws.com/wp-content/uploads/2010/08/IMG_5258.jpg"><img src="http://elwoodicious-wp.s3.amazonaws.com/wp-content/uploads/2010/08/IMG_5258.jpg" alt="" title="Down by the river I shot my baby" width="859" height="483" class="aligncenter size-full wp-image-2220" /></a></p>
<img src="http://feeds.feedburner.com/~r/elwoodicious/~4/7BQ9I1cHpuo" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://elwoodicious.com/2010/08/14/down-by-the-river-i-shot-my-baby/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://elwoodicious.com/2010/08/14/down-by-the-river-i-shot-my-baby/</feedburner:origLink></item>
		<item>
		<title>imma comin ta git joo!</title>
		<link>http://feedproxy.google.com/~r/elwoodicious/~3/TPcVLKeNFOs/</link>
		<comments>http://elwoodicious.com/2010/08/13/imma-comin-ta-git-joo/#comments</comments>
		<pubDate>Fri, 13 Aug 2010 13:01:25 +0000</pubDate>
		<dc:creator>james</dc:creator>
				<category><![CDATA[Photography]]></category>
		<category><![CDATA[Family]]></category>
		<category><![CDATA[Nephew]]></category>
		<category><![CDATA[Screen Window]]></category>
		<category><![CDATA[Summer]]></category>

		<guid isPermaLink="false">http://elwoodicious.com/?p=2214</guid>
		<description><![CDATA[<img src="http://elwoodicious-wp.s3.amazonaws.com/wp-content/uploads/2010/08/immacomingtagitjoo.jpg" alt="" title="imma comin ta git joo" width="255" height="357" class="aligncenter size-full wp-image-2215" />]]></description>
			<content:encoded><![CDATA[<p><a href="http://elwoodicious-wp.s3.amazonaws.com/wp-content/uploads/2010/08/immacomingtagitjoo.jpg"><img src="http://elwoodicious-wp.s3.amazonaws.com/wp-content/uploads/2010/08/immacomingtagitjoo.jpg" alt="" title="imma comin ta git joo" width="850" height="1190" class="aligncenter size-full wp-image-2215" /></a></p>
<img src="http://feeds.feedburner.com/~r/elwoodicious/~4/TPcVLKeNFOs" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://elwoodicious.com/2010/08/13/imma-comin-ta-git-joo/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		<feedburner:origLink>http://elwoodicious.com/2010/08/13/imma-comin-ta-git-joo/</feedburner:origLink></item>
		<item>
		<title>Something wicked is on the rise.</title>
		<link>http://feedproxy.google.com/~r/elwoodicious/~3/ycYEILmL8x4/</link>
		<comments>http://elwoodicious.com/2010/07/22/something-wicked-is-on-the-rise/#comments</comments>
		<pubDate>Thu, 22 Jul 2010 12:57:16 +0000</pubDate>
		<dc:creator>james</dc:creator>
				<category><![CDATA[Photography]]></category>
		<category><![CDATA[Clouds]]></category>
		<category><![CDATA[Storm]]></category>
		<category><![CDATA[Summer]]></category>

		<guid isPermaLink="false">http://elwoodicious.com/?p=2207</guid>
		<description><![CDATA[<img class="aligncenter" src="http://farm5.static.flickr.com/4101/4817580763_1c07fd116a_b.jpg" alt="Something wicked is on the rise." width="221" height="165" />]]></description>
			<content:encoded><![CDATA[<p style="text-align: center;"><a title="Something wicked is on the rise. by elwoodicious, on Flickr" href="http://www.flickr.com/photos/elwoodicious/4817580763/"><img class="aligncenter" src="http://farm5.static.flickr.com/4101/4817580763_1c07fd116a_b.jpg" alt="Something wicked is on the rise." width="922" height="691" /></a></p>
<p>Shot last night using my iPhone 3GS as the storm finished rolling past Tolland.</p>
<img src="http://feeds.feedburner.com/~r/elwoodicious/~4/ycYEILmL8x4" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://elwoodicious.com/2010/07/22/something-wicked-is-on-the-rise/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://elwoodicious.com/2010/07/22/something-wicked-is-on-the-rise/</feedburner:origLink></item>
		<item>
		<title>Summer Rider</title>
		<link>http://feedproxy.google.com/~r/elwoodicious/~3/GhzFhEC0RBs/</link>
		<comments>http://elwoodicious.com/2010/07/12/summer-rider/#comments</comments>
		<pubDate>Mon, 12 Jul 2010 16:30:27 +0000</pubDate>
		<dc:creator>james</dc:creator>
				<category><![CDATA[Photography]]></category>
		<category><![CDATA[Gabriella]]></category>
		<category><![CDATA[Playing]]></category>
		<category><![CDATA[Summer]]></category>

		<guid isPermaLink="false">http://elwoodicious.com/?p=2199</guid>
		<description><![CDATA[<img src="http://elwoodicious-wp.s3.amazonaws.com/wp-content/uploads/2010/07/summer_rider.jpg" alt="" title="Summer Rider" width="204 " height="114" class="aligncenter size-full wp-image-2201" />]]></description>
			<content:encoded><![CDATA[<p><a href="http://elwoodicious-wp.s3.amazonaws.com/wp-content/uploads/2010/07/summer_rider.jpg"><img src="http://elwoodicious-wp.s3.amazonaws.com/wp-content/uploads/2010/07/summer_rider.jpg" alt="" title="Summer Rider" width="850" height="478" class="aligncenter size-full wp-image-2201" /></a></p>
<img src="http://feeds.feedburner.com/~r/elwoodicious/~4/GhzFhEC0RBs" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://elwoodicious.com/2010/07/12/summer-rider/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		<feedburner:origLink>http://elwoodicious.com/2010/07/12/summer-rider/</feedburner:origLink></item>
		<item>
		<title>Entertain my vanity, two photos I shot as wallpapers for the iPhone.</title>
		<link>http://feedproxy.google.com/~r/elwoodicious/~3/zQkzTPsiQH4/</link>
		<comments>http://elwoodicious.com/2010/07/10/entertain-my-vanity-two-photos-i-shot-as-wallpapers-for-the-iphone/#comments</comments>
		<pubDate>Sat, 10 Jul 2010 23:17:22 +0000</pubDate>
		<dc:creator>james</dc:creator>
				<category><![CDATA[Photography]]></category>
		<category><![CDATA[iPhone]]></category>
		<category><![CDATA[Wallpaper]]></category>

		<guid isPermaLink="false">http://elwoodicious.com/?p=2196</guid>
		<description><![CDATA[<a href="http://elwoodicious.com/2010/07/10/entertain-my-vanity-two-photos-i-shot-as-wallpapers-for-the-iphone/"><img src="http://farm5.static.flickr.com/4140/4781402628_8dca355b9e_m.jpg"></a>]]></description>
			<content:encoded><![CDATA[<p>Been far too long since I walked about with my camera and even longer since I shared anything. Here&#8217;s two photos that I took and am using as wallpapers for my iPhone, maybe you might like them as well.</p>
<p style="text-align: center;"><a title="Orange Blossom of the Deep by elwoodicious, on Flickr" href="http://www.flickr.com/photos/elwoodicious/4781402628/"><img class="aligncenter" src="http://farm5.static.flickr.com/4140/4781402628_8dca355b9e_z.jpg" alt="Orange Blossom of the Deep" width="425" height="640" /></a></p>
<p style="text-align: center;"><a title="Summer's Water by elwoodicious, on Flickr" href="http://www.flickr.com/photos/elwoodicious/4781402906/"><img class="aligncenter" src="http://farm5.static.flickr.com/4123/4781402906_8abdda80fc_z.jpg" alt="Summer's Water" width="425" height="640" /></a></p>
<img src="http://feeds.feedburner.com/~r/elwoodicious/~4/zQkzTPsiQH4" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://elwoodicious.com/2010/07/10/entertain-my-vanity-two-photos-i-shot-as-wallpapers-for-the-iphone/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		<feedburner:origLink>http://elwoodicious.com/2010/07/10/entertain-my-vanity-two-photos-i-shot-as-wallpapers-for-the-iphone/</feedburner:origLink></item>
		<item>
		<title>Because my brain is a sieve here’s how to serve custom maintenance pages based on the subdomain</title>
		<link>http://feedproxy.google.com/~r/elwoodicious/~3/SjkEl4TNkac/</link>
		<comments>http://elwoodicious.com/2010/05/25/because-my-brain-is-a-sieve-here%e2%80%99s-how-to-serve-custom-maintenance-pages-based-on-the-subdomain/#comments</comments>
		<pubDate>Tue, 25 May 2010 20:43:23 +0000</pubDate>
		<dc:creator>james</dc:creator>
				<category><![CDATA[Sysadmin]]></category>
		<category><![CDATA[Apache]]></category>
		<category><![CDATA[maintenance]]></category>
		<category><![CDATA[mod_rewrite]]></category>
		<category><![CDATA[subdomains]]></category>

		<guid isPermaLink="false">http://elwoodicious.com/?p=2185</guid>
		<description><![CDATA[Just like the <a href="http://elwoodicious.com/2010/01/21/because-my-brain-is-a-sieve-heres-how-to-serve-custom-favicons-based-on-the-subdomain/">favicons post of yore</a>, this is another one that came up in conversation, "Can we display a custom maintenance page for each subdomain?" Since I had managed to sketch out a proof-of-concept with the favicons I figured this one shouldn't be too hard.]]></description>
			<content:encoded><![CDATA[<p>Just like the <a href="http://elwoodicious.com/2010/01/21/because-my-brain-is-a-sieve-heres-how-to-serve-custom-favicons-based-on-the-subdomain/">favicons post of yore</a>, this is another one that came up in conversation, &#8220;Can we display a custom maintenance page for each subdomain?&#8221; Since I had managed to sketch out a proof-of-concept with the favicons I figured this one shouldn&#8217;t be too hard.</p>
<p>The way this works is that Apache checks for a file called maintenance.on and if it exists it rewrites all traffic to  maintenance-[subdomain].html. In practice, maintenance.on is set during deploys that require downtime such as one that might do work on the database, and at the end of a successful deploy the file is either removed or moved to something like maintenance.off. </p>
<p>Granted, this is a little kludgy as it depends on a separate html file for each subdomain and I don&#8217;t have a fallback position if that maintenance file doesn&#8217;t exist, Apache will just serve up a 404.  </p>
<p>Anyway, here&#8217;s what&#8217;s in the Apache site file:</p>
<p><code># Check for the maintenance.on file and redirect all requests to<br />
        # to a custom maintenance page based on the following formula<br />
        # maintenance-[subdomain].html<br />
        # get the requested subdomain name into variable %1<br />
        RewriteCond %{HTTP_HOST} ^([^.]+)\.*<br />
</code><br />
<code><br />
        # skip the rules for images and css<br />
        RewriteCond %{REQUEST_URI} !\.(png|jpg|jpeg|gif|css|ico)$<br />
</code><br />
<code><br />
        # check to see if maintenance.on exists<br />
        RewriteCond %{DOCUMENT_ROOT}/system/maintenance.on -f<br />
        RewriteCond %{SCRIPT_FILENAME} !maintenance-1%.html<br />
</code><br />
<code><br />
        # write out the custom maintenance page based on the domain<br />
        RewriteRule ^.*$ /system/maintenance-%1.html [L]<br />
</code></p>
<p>This was gratefully stolen and extended from the Codahale post, <a href="http://blog.codahale.com/2006/06/19/time-for-a-grown-up-server-rails-mongrel-apache-capistrano-and-you/">Time For A Grown-Up Server: Rails, Mongrel, Apache, Capistrano and You</a>. </p>
<img src="http://feeds.feedburner.com/~r/elwoodicious/~4/SjkEl4TNkac" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://elwoodicious.com/2010/05/25/because-my-brain-is-a-sieve-here%e2%80%99s-how-to-serve-custom-maintenance-pages-based-on-the-subdomain/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://elwoodicious.com/2010/05/25/because-my-brain-is-a-sieve-here%e2%80%99s-how-to-serve-custom-maintenance-pages-based-on-the-subdomain/</feedburner:origLink></item>
		<item>
		<title>“If you ain’t sassy then you ain’t nothin’.”</title>
		<link>http://feedproxy.google.com/~r/elwoodicious/~3/giD_aSvFd6U/</link>
		<comments>http://elwoodicious.com/2010/05/18/if-you-aint-sassy-then-you-aint-nothin/#comments</comments>
		<pubDate>Tue, 18 May 2010 13:00:37 +0000</pubDate>
		<dc:creator>james</dc:creator>
				<category><![CDATA[Photography]]></category>
		<category><![CDATA[Gabriella]]></category>
		<category><![CDATA[Portrait]]></category>
		<category><![CDATA[Sunglasses]]></category>

		<guid isPermaLink="false">http://elwoodicious.com/?p=2178</guid>
		<description><![CDATA[<a href="http://elwoodicious.com/2010/05/18/if-you-aint-sassy-then-you-aint-nothin"><img src="http://elwoodicious-wp.s3.amazonaws.com/wp-content/uploads/2010/05/IMG_3985.jpg" alt="Sassy" title="Sassy" width="212" height="141" class="aligncenter size-full wp-image-2179" /></a>]]></description>
			<content:encoded><![CDATA[<p><a href="http://elwoodicious-wp.s3.amazonaws.com/wp-content/uploads/2010/05/IMG_3985.jpg"><img src="http://elwoodicious-wp.s3.amazonaws.com/wp-content/uploads/2010/05/IMG_3985.jpg" alt="Sassy" title="Sassy" width="850" height="565" class="aligncenter size-full wp-image-2179" /></a></p>
<img src="http://feeds.feedburner.com/~r/elwoodicious/~4/giD_aSvFd6U" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://elwoodicious.com/2010/05/18/if-you-aint-sassy-then-you-aint-nothin/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://elwoodicious.com/2010/05/18/if-you-aint-sassy-then-you-aint-nothin/</feedburner:origLink></item>
	</channel>
</rss><!-- Dynamic page generated in 0.610 seconds. --><!-- Cached page generated by WP-Super-Cache on 2010-09-06 00:01:51 -->
