« The big switch. | Main | Useless Error Dialog »

MoveableType 3.2 on Windows 2003 Server

If you install MoveableType 3.2 on a Windows 2003 Server, here’s the error you’re likely to be greeted with:

CGI Error
The specified CGI application misbehaved by not returning a complete set of HTTP headers.

Ah. Very helpful.

For some reason that I haven’t figured out (and haven’t the time), on Windows 2003 Server with recent builds of Perl, paths are not working the way that is needed for MoveableType.

Here’s what I did to get it to work.

Open mt.cgi (it’s in the root directory of your MoveableType installation).

It should contain something like this:

use strict;
use lib 'lib';
use MT::Bootstrap App => 'MT::App::CMS';

Replace the ‘lib’ with the absolute path to the MoveableType lib directory, such as

use lib 'c:\inetpub\wwwroot\wiredprairie\mt\lib';

You’ll need to do this for lib and extlib in all of the CGI files, not just mt.cgi. Doing a search and replace works well using your favorite editor in that directory and subdirectories (just look for the use lib …). You may need to replace it slightly differently if you install any new plugins (as they may have their own ‘lib’ directories).

Once you get by that and configure everything per the instructions, everything should work.

Help support my web site by searching and buying through Amazon.com (in assocation with Amazon.com).