I am attempting to execute a CGI script in my account and I receive a 500 Internal Server Error

If you are encountering errors after you have uploaded your CGI script in either .cgi or .pl extension check for the following:

A) There's no such file in the cgi-bin
B) The file permissions are incorrect
C) The cgi-bin's permissions are messed up
D) The paths are incorrect
E) The script is corrupt
F) The domain hasn't propagated yet.

Note: Please check your CGI script's installation file for the appropriate file permissions. To check the permissions on your CGI-Bin directory, select it in your favourite FTP editor and select the CHMOD setting, ensure the CGI-Bin folder has a permission setting of 750.

If after checking all of the above you are still experiencing trouble please open a support ticket and a member of staff will get back to you as soon as possible.

1) Your account domain name (e.g.: google.com)2) Your account password (e.g.: The one used for your Plesk control panel)

  • 6 Users Found This Useful
Was this answer helpful?

Related Articles

Is it possible to have a CGI-Bin directory with CGI/Perl script access under my httpdocs directory?

Unfortunately this is not possible; CGI scripts can only be executed outside the public directory...

What is the path to perl?

The path to Perl on all of our servers is: #!/usr/bin/perl Note that this is the common...

What is the path to my cgi-bin directory?

The full path to your CGI-Bin directory is: /home/httpd/vhosts/domain.com/cgi-bin

Where should I put my Perl scripts?

We advise our customers to setup any Perl scripts (*.pl, *.cgi files) to be executed from the...

Unable to delete files created by Perl scripts

You may find that you are unable to modify or delete files or folders which were created by a...