Is your page throwing a 500 Internal Server Error?

Here are some things you can do to help troubleshoot the errors.

For Perl Scripts:
After you are positive that you have uploaded your CGI scripts in ascii mode and have set the permissions correctly (usually 755)?

If yes, you might consider adding a "- w" after the shebang line (#!/usr/bin/perl)

Your shebang will then look like this:

#!/usr/bin/perl -w
 

This will sometimes cause Perl to spit out exactly what the issue is.

For PHP Scripts:
After you are positive that you have uploaded your PHP scripts in binary mode and have set the permissions correctly (usually 644)? Also, due SuExec installed on most of our servers, folders must have 755 permissions set.
View the error logs!

Did you know that your control panel has error logging enabled?

This lets you see where the script might be failing as well.

Log into the control panel and select Stats > Error Log.

You might even see "error_log" in the same directory that your scripts run in. This can be a good place to start.