<?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>Pixelbath &#187; movabletype</title>
	<atom:link href="http://www.pixelbath.com/blog/tag/movabletype/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.pixelbath.com/blog</link>
	<description>Webcomics, video, Photoshop and other design-related stuff</description>
	<lastBuildDate>Fri, 11 Jun 2010 04:17:10 +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>Movable Type Installation on Windows Server 2003</title>
		<link>http://www.pixelbath.com/blog/2008/11/movable-type-installation-on-windows-server-2003/</link>
		<comments>http://www.pixelbath.com/blog/2008/11/movable-type-installation-on-windows-server-2003/#comments</comments>
		<pubDate>Thu, 13 Nov 2008 20:45:09 +0000</pubDate>
		<dc:creator>Mike</dc:creator>
				<category><![CDATA[Open Source Software]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[activeperl]]></category>
		<category><![CDATA[iis]]></category>
		<category><![CDATA[movabletype]]></category>
		<category><![CDATA[mysql]]></category>
		<category><![CDATA[server]]></category>

		<guid isPermaLink="false">http://www.pixelbath.com/blog/?p=172</guid>
		<description><![CDATA[Wow, what a pain in the ass. I&#8217;m glad I didn&#8217;t personally pay for this software. I thought this was yet another PHP content management system. Nope, it&#8217;s Perl. To hopefully save someone from searching all over the web and back, here are the problems I encountered while installing. This guide assumes a semi-proficient knowledge [...]]]></description>
			<content:encoded><![CDATA[<p>Wow, what a pain in the ass.  I&#8217;m glad I didn&#8217;t personally pay for this software.  I thought this was yet another PHP content management system.</p>
<p>Nope, it&#8217;s Perl.</p>
<p>To hopefully save someone from searching all over the web and back, here are the problems I encountered while installing.  This guide assumes a semi-proficient knowledge of IIS configuration.</p>
<h3>Install ActivePerl</h3>
<p>First off, make sure you install <a href="http://www.activestate.com/Products/activeperl/index.mhtml">ActiveState&#8217;s ActivePerl</a> on your server.  Manually configuring Perl is not something I&#8217;d care to dive into.  If that&#8217;s your bag, go to <a href="http://www.cpan.org/">CPAN</a> (and why the hell are you reading this guide?).</p>
<p>Using the IIS Manager, navigate to your website and choose &#8220;Properties&#8221;.  Under the &#8220;Home Directory&#8221; tab, click the &#8220;Configuration&#8221; button.</p>
<p>In the Application Configuration window, click the &#8220;Add&#8221; button.</p>
<p>Use the following values in the Extension Mapping dialog:</p>
<p>Executable: <code>C:\Perl\bin\perl.exe "%s" %s</code><br />
Extension: <code>.cgi</code><br />
Verbs: Check &#8220;Limit to:&#8221; and enter <code>GET,HEAD,POST</code><br />
Uncheck the box labeled &#8220;Verify that file exists&#8221; (this will speed execution on scripts)</p>
<p>Next, select the &#8220;Web Service Extensions&#8221; item on the left of the IIS Manager (at the same level as &#8220;Web Sites&#8221;).  Select &#8220;Perl CGI Extension&#8221; and click the &#8220;Allow&#8221; button.</p>
<p>I already had PHP installed on this server, so I&#8217;m skipping that step for this guide.  PHP is far less tricky to install, anyway, and there are extensive guides for this already.</p>
<h3>Fix Shoddy Installation Procedures</h3>
<p>When navigating to my Movable Type directory, I immediately encountered the error &#8220;CGI Error The specified CGI application misbehaved by not returning a complete set of HTTP headers.&#8221;</p>
<p>Bad CGI application, bad!  Smack it on the nose with a rolled up magazine!</p>
<p>First off, you should run the <code>mt-check.cgi</code> script to make sure everything&#8217;s on the up-and-up.  If the script runs successfully, you&#8217;ve successfully installed and configured ActivePerl.  Yay, you&#8217;re halfway (yes, halfway) there!</p>
<p>Near the top of this page, you should see the following:</p>
<p>Current working directory: <code>[path]</code><br />
MT home directory: <code>[different path]</code></p>
<p>The <a href="http://www.sixapart.com/movabletype/kb/installation/cgi_error_on_ii.html">MT Knowledge Base</a> says to download <a href="http://www.sixapart.com/movabletype/kb/downloads/Bootstrap.pm">this modified Bootstrap.pm file</a>, and replace it with the version on your server.  I honestly don&#8217;t know what&#8217;s different about it, or why they couldn&#8217;t include it with the installation, or even if it does anything different.  Mindlessly obey.</p>
<p>The same page also advises to &#8220;Create a new &#8220;virtual directory&#8221; under IIS which points to the physical directory where the Movable Type CGI files are located (i.e., the &#8220;MT home directory&#8221; mt-check.cgi reports)&#8221;  That explanation is freaking stupid.  What it should tell you is &#8220;Do not install MovableType directly into the folder you wish to present to the world.&#8221;  As in, I moved the entire thing to <code>/cgi-bin/</code> and created a virtual folder named &#8220;blog&#8221; under the root folder pointing to <code>/cgi-bin/</code>.  Your <code>CGIPath</code> variable in <code>mt-config.cgi</code> should match your virtual folder name (like <code>http://www.example.com/blog/</code>).</p>
<h3>Install MySQL Driver</h3>
<p>Oops, now navigating to the blog URL results in an error saying that the MySQL driver is missing (sharp readers will notice this was missing in <code>mt-check.cgi</code> as well, I did not).  On your server, run the ActiveState Perl Package Manager, which should be in your Start menu.  If you scan through all packages, you&#8217;ll notice a DBD-mysqlPP module.  This will not work, as far as I know.  You need to add another repository source to get the actual module you need.</p>
<p>In PPM, go to Edit > Preferences, then go to the &#8220;Repositories&#8221; tab in the preferences window.  Add the CPAN repositories to its sources by either selecting &#8220;uwinnipeg&#8221; from the &#8220;Suggested&#8221; list, or do what I did manually.  Enter &#8220;CPAN&#8221; for name, and <code>http://cpan.uwinnipeg.ca/PPMPackages/10xx/</code> to the location box, then click the &#8220;Add&#8221; button.  You should now have <code>DBD-mysql</code> available for installation.  Install it.</p>
<p>That should be it!  As far as configuring MovableType goes, that&#8217;s where I get off, because this installation was for a client who already knew how to use it, and already had his login information in the database (this was a server move).</p>
<p>Good luck!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.pixelbath.com/blog/2008/11/movable-type-installation-on-windows-server-2003/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
