<?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>Draakwired &#187; redirect</title>
	<atom:link href="http://drakonen.com/tag/redirect/feed/" rel="self" type="application/rss+xml" />
	<link>http://drakonen.com</link>
	<description>Here be Dragons  -  Drakonen&#039;s Blog</description>
	<lastBuildDate>Mon, 23 Jan 2012 12:53:32 +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>Drakonen.com</title>
		<link>http://drakonen.com/2008/drakonencom/</link>
		<comments>http://drakonen.com/2008/drakonencom/#comments</comments>
		<pubDate>Fri, 01 Aug 2008 08:42:50 +0000</pubDate>
		<dc:creator>Drakonen</dc:creator>
				<category><![CDATA[Connectivity]]></category>
		<category><![CDATA[301]]></category>
		<category><![CDATA[domain]]></category>
		<category><![CDATA[drakonen.org]]></category>
		<category><![CDATA[nginx]]></category>
		<category><![CDATA[redirect]]></category>

		<guid isPermaLink="false">http://drakonen.com/blog/?p=65</guid>
		<description><![CDATA[Finally i had the impulse to buy my own domain: drakonen.com. I &#8216;moved&#8217; my blog to this domain which took a simple symlink. Making Nginx do a moved permanently redirect was a bit harder though, and caused quite some frustration. But here it is: server { server_name     drakonen.digigen.nl; if ($http_host = 'drakonen.digigen.nl' ) { rewrite  [...]]]></description>
			<content:encoded><![CDATA[<p>Finally i had the impulse to buy my own domain: <a href="http://drakonen.com">drakonen.com</a>. I &#8216;moved&#8217; my blog to this domain which took a simple symlink. Making Nginx do a <em>moved permanently redirect</em> was a bit harder though, and caused quite some frustration. But here it is:</p>
<p><code>server {<br />
server_name     drakonen.digigen.nl;<br />
if ($http_host = 'drakonen.digigen.nl' ) {<br />
rewrite  ^(.*)  http://drakonen.com$1  permanent;<br />
}<br />
}</code></p>
<p>This can maybe be optimized a bit, but it generates a <a href="http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html#sec10.3.2" onclick="pageTracker._trackPageview('/outgoing/www.w3.org/Protocols/rfc2616/rfc2616-sec10.html_sec10.3.2?referer=');">301 status</a> and redirects.</p>
]]></content:encoded>
			<wfw:commentRss>http://drakonen.com/2008/drakonencom/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

