This is a CGI error and most commonly occurs when running a Perl script. Here’s a checklist of the most common problems that cause this error:
- Do you have the correct path to Perl in the first line of your script?
- Are the script’s file permissions set correctly?
- Has the script been uploaded in ASCII mode (in your FTP program settings)?
- Is there a syntax error in the Perl code of your script?