default userpic

Installing and running MT wizard on a Linux shared hosting account

Vote 0 Votes

Basically, I'm trying to install MT on my shared Linux hosting account and then transferring my developed MT blog site over.

I can't get the MT install wizard to work with any of the paths I give it.

I don't have access to httpd.conf on my shared hosting account. In fact, I can't really access anything of Apache on my server instance. I've successfully downloaded the MT files, extracted them, FTPd them, and set the correct permissions where they need to be.

I keep getting this error:

Error: 'http://www.lighthousekeeperblog.com/cgi-bin/mt/mt-static/' could not be found.Please move your static files to the directory first or correct the setting if it is incorrect.

The URL is http://www.lighthousekeeperblog.com/ but I'm not sure what the mapping is, which I think is my main problem. There is a PUBLIC_HTML directory in which all Web files are supposed to be installed. Here are the contents of my home directory /home/rgrace:

rgrace@lighthousekeeperblog.com [~]# ls
./ .bash_history .bashrc .dns .htpasswds/ .mozilla/ .ssh/ www@
../ .bash_logout .contactemail etc/ .lastlogin public_ftp/ tmp/ .zshrc
access-logs@ .bash_profile .cpanel/ .gemrc mail/ public_html/ .trash/

I've CP'd the MT-STATIC directory to within the MT directory in my instance, and no joy. I've tried several different alternative paths.

Not sure what I'm doing wrong. I can't believe I'm the first person to have this problem.

Reported on Movable Type 4.2

4 Replies

| Add a Reply
  • It means that your hosts security configuration is preventing the script from checking file paths.

    What you can do is manually create your mt-config.cgi file (there is a template called mt-config.cgi-original in the same directory as mt.cgi)

  • Thought I might be able to fix it by doing that; the Wizard comes out with this message:

    Configuration File Exists

    A configuration (mt-config.cgi) file already exists, sign in to Movable Type.

    To create a new configuration file using the Wizard, remove the current configuration file and then refresh this page.
    -----------------------------------------------------------

    By the way, the actual path from root is: /HOME/RGRACE/PUBLIC_HTML.

    I'm still working on this, I'll post again once I have this problem solved.

  • Also, the Web root for the shared hosting instance is PUBLIC_HTML/WWW.

  • Hi rgrace -

    The wizard is telling you that you (now) have a configuration file, either because you created it or because the wizard created it.

    The message you are getting about the mt-static directory is, as mentioned, because your host has it set so that static content cannot be served from the cgi-bin.

    What you need to do is move your mt-static directory to your public_html (/home/rgrace/public_html/mt-static), then add that to your config file like so:

    StaticWebPath http://www.example.com/mt-static/
    StaticFilePath /home/rgrace/public_html/mt-static/

    Both the file path and web path are necessary for proper operation - just make sure you change "example" above to the proper domain name.

Add a Reply

If you need to share template code, replace all the "<" signs with "&lt;" or use this utility.

Forum Groups

1773 6162

Last Topic: Excluding categories from blog by kholechek on Feb 9, 2012

86 302

Last Topic: website entries by masoud on Oct 26, 2011

1428 5076

Last Topic: Stupid Question? How to make a static homepage by Jeremy on Feb 3, 2012

694 2908

Last Topic: Blogspot to Movable Type by sdude on Feb 8, 2012

84 291

Last Topic: How to have some other characters in entry basename automatically written by Afshin Haghighatnia on Dec 22, 2011

173 737

Last Topic: About the MT version stated in HTML source by Alex E. Schneider on Feb 7, 2012

190 565

Last Topic: Analytics Reporting by michael webster on Feb 5, 2012

48 210

Last Topic: An idea and also a request by Afshin Haghighatnia on Jun 29, 2011

64 246

Last Topic: jQuery in MT 5.1 still at 1.4 - why? by perlmonkey on May 25, 2011

code.sixapart.com

137 478

Last Topic: Getting a thumbnail with xpath by Peter on Mar 13, 2011

222 720

Last Topic: Custom Field for Asset Not Appearing by android on Feb 9, 2012