Q. I keep getting a 500 Internal Server Error. Why?

A. There are many different possibilities. If you have a problem, misconfiguration, or syntax error in your script, you will probably be able to find it by checking your error logs which can be found in your Control Panel.
Although this is generally caused by a problem within the script, many times it is caused by incorrect file permissions either on the script itself, or another file or directory used by the script. You should also verify that the script paths are set correctly.
You should verify that the first line of your script is the path to Perl, and that it is correct. It should be set to:
/usr/bin/perl
OR
/usr/bin/perl -w

You should also verify that the scripts were uploaded in the correct mode.

Another problem could be permissions of the file or directory. Your script permissions should be 755, or rwxr-xr-x.


Dinsol.com FAQ » CGI/Perl & PHP » Viewing Answer

Our Awards
Data Center
Terms & AUP
CGI Abuse Policy
UCE Spam Policy
Bandwidth Policy
Payment Policy
Privacy Policy
Contact us
Feedback Please!
 
Thanks for your quick response to my problemb and investigating it fully in detail....
read more...
Uptime Guarantee
Moneyback guarantee
click here
      Partner Sites :       Web Hosting India       PHP Tutorials       Easy Domain Check       Webmaster Directory