Why do I get 500 Internal Server Error when executing my cgi script?

Internal Server Error means that you have a misconfiguration within your cgi itself. Our machines are very strict when executing Perl, and bad code is always rejected.

Some scripts have been prepared on a Windows or Macintosh machine. When you unpack the script make sure that each script is uploaded as Unix Text or Binary.

The first line should always be #!/usr/bin/perl. Uploading with Unix text or binary will solve that problem.

  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

Why do I get 403 Forbidden when I run a cgi script?

You must make sure you have changed the permission on your script before you run it. The...

Cannot connect to database

This error will occur within a web application when any of the following conditions are met:...

Files fail FTP transfer

When uploading many files at once (a CMS, for example), it is not uncommon for a few of the files...

I can't login to cPanel

Ensure that caps lock is off, and that you are completely sure what your cPanel password is. If...

I'm receiving a blank page

If your website or web application is displaying nothing but a blank, white page, then chances...