<?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>Labs &#187; Server</title>
	<atom:link href="http://labs.iamkoa.net/category/server/feed/" rel="self" type="application/rss+xml" />
	<link>http://labs.iamkoa.net</link>
	<description>I break it. I fix it. You learn.</description>
	<lastBuildDate>Fri, 09 Jul 2010 02:26:36 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>Custom 404/500 Errors via .htaccess</title>
		<link>http://labs.iamkoa.net/2007/10/30/custom-404500-errors-via-htaccess/</link>
		<comments>http://labs.iamkoa.net/2007/10/30/custom-404500-errors-via-htaccess/#comments</comments>
		<pubDate>Tue, 30 Oct 2007 17:17:07 +0000</pubDate>
		<dc:creator>Koa</dc:creator>
				<category><![CDATA[Server]]></category>

		<guid isPermaLink="false">http://labs.iamkoa.net/2007/10/30/custom-404500-errors-via-htaccess/</guid>
		<description><![CDATA[Creating custom pages for 404 (page not found) and 500 (internal server error) errors are super simple. In fact it&#8217;s so easy, it&#8217;s almost not worth a blog entry. But what the hell. To get a custom error page rolling, create an .htaccess file with the following: ErrorDocument 404 /path/to/error/file.404.php ErrorDocument 500 /path/to/error/file.500.php Place the [...]]]></description>
			<content:encoded><![CDATA[<p>Creating custom pages for 404 (page not found) and 500 (internal server error) errors are super simple. In fact it&#8217;s so easy, it&#8217;s almost not worth a blog entry. But what the hell.</p>
<p>To get a custom error page rolling, create an <code>.htaccess</code> file with the following:</p>
<pre><code>ErrorDocument 404 /path/to/error/file.404.php
ErrorDocument 500 /path/to/error/file.500.php</code></pre>
<p>Place the <code>.htaccess</code> file in the root directory of your website.</p>
<p>Now when people get a 404 or 500 error, they&#8217;ll be directed to your custom error page!</p>
<p>I had some fun creating a custom 404 page for my website &#8211; <a href="http://iamkoa.net/404">check it out</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://labs.iamkoa.net/2007/10/30/custom-404500-errors-via-htaccess/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
