How do I troubleshoot my cgi-bin?

First refer to the step by step setup guide to ensure the scripts have been uploaded and setup correctly.

Error Messages

There are several error messages that indicate problems with the script setup:

If the scripts execute permissions have not been set correctly

Error 403: Permission denied

This will happen if the script has not been set to have the permission CHMOD 755 or global execute permissions. The execute permissions can be set with your FTP software - consult your manual for details.

If the path to perl has not been specified in the script or has been uploaded in Binary mode

Error 500: Configuration Error

The first line of the script needs to say where the location of perl is on the server. On Easyspace servers this is :
/bin/perl
so the first line of the script needs to be written as
#!/bin/perl
or the script will not be able to use the perl installed on the server.

This error is also given if a cgi-script is uploaded in Binary mode rather than ASCII mode which is set in your FTP software.

If the script has syntax errors

The script will return an error like:

While trying to retrieve the URL: [no URL]
The following error was encountered:
Zero Sized Reply

Or you will get a similar hang up error message.

To find what the problem is here you can use our debug script. Make a cgi-script with the content:

#!/bin/perl
#
# Enter name of script to check here:
$scriptname = "************.cgi";
system("/bin/scriptcheck $scriptname");

run this to find where the errors in the script are.

  • 3 Users Found This Useful
Was this answer helpful?

Related Articles

Add [econs.net] in the Safe List of your hotmail / live email account

Follow these steps to add our domain name [ econs.net ] in the safe list of your hotmail / live...

Uploading your web pages - quick guide

FTP SOFTWARE : FTP stands for File Transfer Protocol and the software is used to transfer...

My FTP connection timed out

If your FTP connection timed out without connecting, check your FTP settings to make sure you...

Will Econs move my domain to my new server for me?

You will be responsible for uploading your site to your server. You must have a registered domain...

What is cgi-bin?

What is a cgi-bin? A cgi-bin is a directory used on your webserver account to process programs...

Powered by WHMCompleteSolution