|
Perl script returns "Error: 500 Internal Server Error" |
|
Issue:
Most of the cases Perl scripts reports errors with the message "Error: 500 Internal Server Error".
How to solve:
This error is the most uninformative error that you can receive, which means anything from a bug in the script, a problem uploading the script or execution permissions.
A bug in the script is very unlikely in the case of the script created by Forms To Go, which had been considerably debugged.
1. The most common cause can be an improper perl path in the Perl configuration. This path can be #!/usr/bin/perl, #!/usr/local/bin/perl or anything else depending your webserver. Make sure this path is correctly written.
2. The next common cause is that the perl script needs execution permissions in order to run. After you upload the script with your FTP client, set the permission ("chmod") to 755. Each FTP clients offer different forms to change these permissions.
3. It is necessary to see the error log of Perl, and check the specific error. There you can see what is reporting the error message.
For more information, please check this link:
http://www.thesitewizard.com/archive/servererror.shtml
|