<?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>humandoing software &#187; apache</title>
	<atom:link href="http://blog.humandoing.net/tag/apache/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.humandoing.net</link>
	<description>better software for everyone</description>
	<lastBuildDate>Fri, 06 Jan 2012 16:17:20 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>If You Can Read This&#8230;</title>
		<link>http://blog.humandoing.net/2008/12/28/if-you-can-read-this/</link>
		<comments>http://blog.humandoing.net/2008/12/28/if-you-can-read-this/#comments</comments>
		<pubDate>Sun, 28 Dec 2008 11:14:00 +0000</pubDate>
		<dc:creator>Daniel Wintschel</dc:creator>
				<category><![CDATA[Technology]]></category>
		<category><![CDATA[apache]]></category>
		<category><![CDATA[deployment]]></category>
		<category><![CDATA[development]]></category>
		<category><![CDATA[rails]]></category>

		<guid isPermaLink="false">http://humandoing.net/past/2008/12/28/if_you_can_read_this/</guid>
		<description><![CDATA[&#8230;then the DNS has propagated, and all is good with the world. Well, maybe not the whole &#8216;good with the world&#8217; thing, but definitely the DNS has propagated, which means you&#8217;re viewing the site on it&#8217;s shiny new Linode &#160;VPS running on mod_rails (AKA: Phusion Passenger). Media Temple was a great host, but something changed [...]]]></description>
			<content:encoded><![CDATA[<p>&#8230;then the <span class="caps">DNS</span> has propagated, and all is good with the world. Well, maybe not the whole &#8216;good with the world&#8217; thing, but definitely the <span class="caps">DNS</span> has propagated, which means you&#8217;re viewing the site on it&#8217;s shiny new <a href="http://linode.com">Linode</a> &nbsp;<span class="caps">VPS</span> running on <a href="http://modrails.com">mod_rails</a> (<span class="caps">AKA</span>: Phusion Passenger).</p>
<p>Media Temple was a great host, but something changed over the past several months, and my Capistrano deployments were no longer working. It was less of a headache to get a better host than it was to figure out what actually went wrong, and it&#8217;s about time I started bumbling around in happy server deployment land again. It doesn&#8217;t hurt that mod_rails drastically reduces the Ibuprofen required in the deployment of Rails apps.</p>
<p>As an aside, it&#8217;s been so long since I&#8217;ve looked at Apache configs in any depth, that it took me a few minutes to figure out how to use the same <code>VirtualHost</code> config for both humandoing.net and www.humandoing.net. The answer (at least the one I used) was <code>ServerAlias</code>. I&#8217;m surprised that this didn&#8217;t appear anywhere in the mod_rails docs, but I guess it&#8217;s more of an Apache thing than a mod_rails thing.</p>
<p>See my config below:</p>
<pre><code>&lt;VirtualHost ip_goes_here:80&gt;<br/>  ServerName humandoing.net<br/>  ServerAlias www.humandoing.net <br/>  DocumentRoot /var/www/apps/humandoing/current/public<br/>&lt;/VirtualHost&gt;<br/></code></pre>
<p>I&#8217;m doing deployment using <a href="http://rubyhitsquad.com/Vlad_the_Deployer.html">Vlad</a> instead of Capistrano, but man, the documentation sucks. I think that the problem is almost that it&#8217;s too easy to use, but that aside &#8211; the documentation still seems uber-lacking.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.humandoing.net/2008/12/28/if-you-can-read-this/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

