Hi there,
It seems I'm not the only one experiencing the dreaded 500 ERROR MESSAGE when attempting to install MT, so I thought it deserved it's own topic.
I've tried installing MT on two completely different linux host servers (Just Host and IX) and the ERROR 500 message keeps appearing. It's a real pain in the ass and it refuses to go away.
I've followed the installation procedure to the letter, and I've also read up on all the usual solutions given such as setting the correct permissions, uploading by FTP using ASCII etc etc. I'm at the stage where I now want to give up on MT as this is simply not worth the frustration.
However, this is one last attempt at finding a solution if anyone here cac provide any kind of solution to this, I would be most grateful. Otherwise it's back to WP.
Many thanks
Allan
Reported on Movable Type 5
What does a perl script header look like that does work on these hosts?
Hi, not sure but I think this works:
#!/usr/bin/perl
##
## printenv -- demo CGI program which just prints its environment
##
print "Content-type: text/plain\n\n";
foreach $var (sort(keys(%ENV))) {
$val = $ENV{$var};
$val =~ s|\n|\\n|g;
$val =~ s|"|\\"|g;
print "${var}=\"${val}\"\n";
}
Hope that helps.
Thanks
Can you put the above script in the mt directory and it will execute without a 500 error? if it works you will need to rename your .cgi files to .pl
Also, probably going to have to add the option "ExecCGI" to your root directory in the httpd.conf file. I would imagine the host company can do that for you.