<?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>Right Brain Left &#187; Other</title>
	<atom:link href="http://rightbrainleft.net/category/development/other/feed/" rel="self" type="application/rss+xml" />
	<link>http://rightbrainleft.net</link>
	<description>C# and Game Development</description>
	<lastBuildDate>Thu, 01 Dec 2011 00:29:29 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
<xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" />
		<item>
		<title>WordPress and Managed Hosting in IIS 7.0</title>
		<link>http://rightbrainleft.net/2009/09/wordpress-and-managed-hosting-in-iis-7-0/</link>
		<comments>http://rightbrainleft.net/2009/09/wordpress-and-managed-hosting-in-iis-7-0/#comments</comments>
		<pubDate>Sat, 05 Sep 2009 00:48:52 +0000</pubDate>
		<dc:creator>Wayne Denier</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[Other]]></category>
		<category><![CDATA[500 Error]]></category>
		<category><![CDATA[Apache]]></category>
		<category><![CDATA[IIS]]></category>
		<category><![CDATA[MySql]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://rightbrainleft.net/?p=12</guid>
		<description><![CDATA[Custom web.config solved 500 error with WordPress.]]></description>
			<content:encoded><![CDATA[<p>I ran into an interesting roadblock trying to set up this very blog. I wanted to take the out-of-the-box <a href="http://wordpress.org/" target="_blank">WordPress</a> installation and throw it on a managed hosting solution, no biggy.</p>
<p>I installed <a href="http://httpd.apache.org/" target="_blank">Apache 2.2.13</a> and <a href="http://dev.mysql.com/downloads/" target="_blank">MySql</a> locally and was able to simulate the entire install perfectly. On the web server this did not work, I was greated with a friendly (but completely unusful) custom 500 error with no description.</p>
<p>A quick Google search lead to <a href="http://forums.iis.net/p/1148428/1915660.aspx" target="_blank">this forum thread</a> which revealed a solution for viewing the true 500 error on an IIS 7.0 managed hosting solution, which involves dropping a web.config file in the site root with the following code&#8230;</p>
<p><code>&lt;configuration&gt;<br />
&lt;system.webServer&gt;<br />
&lt;httpErrors errorMode="Detailed"/&gt;<br />
&lt;/system.webServer&gt;<br />
&lt;/configuration&gt;</code></p>
<p>This is of course a no brainer for those used to creating .NET web applications, but it was funny to see this in a site that was running no .NET code at all (WordPress is PHP). Oddly enough, this completely fixed my problem. The custom 500 error went away and my super easy to use WordPress setup page appeared. I&#8217;d like to look into why changing the error mode &#8216;fixed&#8217; stuff, but I can live with the black magic for now.</p>
]]></content:encoded>
			<wfw:commentRss>http://rightbrainleft.net/2009/09/wordpress-and-managed-hosting-in-iis-7-0/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
	</channel>
</rss>

