jnosser Posted January 24, 2004 Posted January 24, 2004 Hi everyone. Believe it or not, I'm a programmer - but I don't know squat about web programming as I'm a mainframe guy. Anyway, I'm using your tutorial (along with another topic in this board) to try and get it going. I've gotten to this step: 1. From a browser run mt-check.cgi and then I get a 404 not found. Here's what I've done: From my config file: CGIPath http://69.50.193.76/cgi-bin/ DataSource ./db ObjectDriver DBI::mysql Database plongor_mtdatabase DBUser plongor_mtadmin I have also put the password in mt-db-pass.cgi and chmod all the .cgi files to 755. MT is located outside of the cgi-bin which I thought was OK. It's in public_html/mt/ along with all of the other extracted files. I have created the database and added a user as named above (plongor_mtadmin in database plongor_mtdatabase). So I go to execute, and try http://69.50.193.76/mt/mt-check.cgi in my browser. I know there's an mt directory in public_html and I know there's a file called 'mt-check.cgi' in that directory. I'm so sure it exists that I'm going to go insane!! Yet I get a 404 error. If you can offer me any help I would really appreciate it. Do I need to chmod any directories? Thanks in advance. Jeremy Quote
jnosser Posted January 24, 2004 Author Posted January 24, 2004 I found an error I had made...the cgi path is supposed to be the location of movable type, not the cgi-bin dir. So I corrected that to say: CGIPath http://69.50.193.76/mt/ which is where I installed it. Still no luck! I get the same error. Quote
TCH-Rick Posted January 24, 2004 Posted January 24, 2004 You should have the following path in the mt.cfg: CGIPath http://69.50.193.76/~username/mt/ You have to include the ~username (replacing it with your Cpanel username) in order to get the path to work correctly. Also, once your domain is resolving to the server you should change this to use the domain name, i.e. http://******/mt, rather than the IP address. It is much easier to get scripts to work once the domain is resolving correctly. Quote
jnosser Posted January 24, 2004 Author Posted January 24, 2004 That was it, my friend. Many thanks. I have to say as a new customer, I've been very pleased with everything. Jeremy Quote
TCH-Don Posted January 24, 2004 Posted January 24, 2004 Welcome to the family Jeremy! and your new home, glad you are here. If you need anything, just ask, as you see your family will help. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.