in reply to I'm getting a 500 Internal Server Error - how can I make this work?

I understand that your ISP probably restricts the access you can have for CGI, probably for security reasons; lower end hosting packages tend to be like that. If you are able to afford it, I'd suggest looking into a package that gives you shell access, so you can run it from the command line.

If that is not an option for you, I'd suggest:

  1. you install perl on your PC. I assume you're running some version of Windows, in which case there are many different perl distributions available. I'm happy with and would recommend ActiveState Perl. You can then run the scripts on your PC to test with perl -wc your-script-name-here.pl from the command prompt, then upload it to the server. It obviously won't be the same thing as what they have on the server, but at least you don't have to keep asking to look at the logfile for trivial errors. (To get a command prompt, go to start->run->type cmd->click OK).

  2. Asking your hosting provider what perl modules they have available for you to use. One good one is Mail::Sendmail; a quick search on search.cpan.org also turns up others.

-- Burvil

  • Comment on Re: I'm getting a 500 Internal Server Error - how can I make this work?
  • Download Code

Replies are listed 'Best First'.
A reply falls below the community's threshold of quality. You may see it by logging in.