Help - Search - Members - Calendar
Full Version: New Install A Little Help :)
Movable Type Community Forum > Installing and Upgrading > Basic Installation and Setup
Grey
Had to start from scratch as my old webserver died taking down my blog and install notes from before. (yes i should have backed them up sad.gif Sorry for the density of the post, just trying to give as much information as possible.

Basically gone through the install ok for W2k3 on a brand new server. Put the unzipped MT folder in C:\Inetpub\wwwroot\. My config.cgi is at the bottom of this post for reference.

Ran mt.check.cgi, installed any additional modules I wanted:

Movable Type version: 4.23-en
Current working directory: c:/inetpub/wwwroot
MT home directory: c:\inetpub\wwwroot\MT\
Operating system: MSWin32
Perl version: 5.8.8


Next I ran mt.cgi by typing http://localhost//mt/mt.cgi. I get the error: The specified CGI application misbehaved by not returning a complete set of HTTP headers.

I remember having to create a virtual directory in IIS. Something to do with the Current working directory not matching the MT home directory. So I created this Vdirectory calling it mtype. I change my cgi path to reflect this change:

CGIPath http://www.xxxxx.co.uk/mtype

Ran http://localhost//mtype/mt-check.cgi:
Movable Type version: 4.23-en
Current working directory: C:/Inetpub/wwwroot/mt
MT home directory: C:\Inetpub\wwwroot\mt\
Operating system: MSWin32
Perl version: 5.8.8

The directories now match. I thought great. I ran http://localhost//mt/mt.cgi & http://localhost//mtype/mt.cgi and still get the: The specified CGI application misbehaved by not returning a complete set of HTTP headers. .

I'm not sure where to go next. Any help would be greatly appreciated.



# The CGIPath is the URL to your Movable Type directory
CGIPath http://www.xxxxx.co.uk/mt

# The StaticWebPath is the URL to your mt-static directory
# Note: Check the installation documentation to find out
# whether this is required for your environment. If it is not,
# simply remove it or comment out the line by prepending a "#".
StaticWebPath http://www.xxxxx.co.uk/mt/mt-static

#================ DATABASE SETTINGS ==================
# REMOVE all sections below that refer to databases
# other than the one you will be using.

##### MYSQL #####
ObjectDriver DBI::mysql
Database movabletype
DBUser mt_user
DBPassword xxxxxxx
DBHost localhost
Grey
UREKA

Took a shot and followed this and Mt.cgi works fine now: Here's to MT's wonderful Windows compatibility smile.gif tongue.gif

By the way this link - http://wiki.movabletype.org/MT_Hosting_Quirks, doesnt work anymore but if you look in google u can access the cached page and low text version to get the below fix smile.gif

Windows servers

If you try and access mt.cgi and get "CGI Error. The specified CGI application misbehaved by not returning a complete set of HTTP headers" you need to fix it by doing the following:

Open up all .cgi files in the root of your MT install and change 'lib' to the full pathname of your lib (which can be found by running mt-check.cgi which should run anyway). For example change:

use lib $ENV{MT_HOME} ? "$ENV{MT_HOME}/lib" : 'lib';

to

use lib $ENV{MT_HOME} ? "$ENV{MT_HOME}/lib" : 'D:\www\sitename\cgi-bin\mt4\lib';

Retrieved from "http://wiki.movabletype.org/MT_Hosting_Quirks"
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2010 Invision Power Services, Inc.