My CGI Script is Giving Me an Internal Server Error

An Internal Server Error indicates that there is something in your CGI script that the server does not like. There could be several reasons why you are receiving this error. Please review the following situations to see if one applies to you: 

Are you using the correct path to perl?

The correct path to perl is: /usr/bin/perl. If you have the incorrect path, please correct it, save your changes and upload the revised script.

 

Are your attributes for the cgi-bin directory set correctly?

The correct attributes for the cgi-bin directory and the cgi script are both 755. Please verify that these have been correctly set.  

Did you use a binary format to FTP the files?

If so, please FTP your files again using the ASCII format. You should also ensure that you are using the correct permissions. These are noted in the note below.

Are you missing the cgi-bin directory?

If so, you will need to create the /cgi-bin directory in your root directory.

Is your cgi script located within the /cgi-bin directory?

If not, please either move the cgi script to this directory, or FTP the cgi script directly to the /cgi-bin directory  Note  Proper transfer mode for uploading certain file types:
ExtensionTransfer ModeExtensionTransfer Mode
AIF
AIFF
AIFC
ASP
BIN
BMP
CFM
CFML
CGI
CSS
DCR
DIR
DOC
DXR
EXE
GIF
HTM
HTML
JPG
JPEG
JS
LBI
MNO
MOV
BINARY
BINARY
BINARY
ASCII
BINARY
BINARY
ASCII
ASCII
ASCII
ASCII
BINARY
BINARY
ASCII
BINARY
BINARY
BINARY
ASCII
ASCII
BINARY
BINARY
BINARY
BINARY
BINARY
BINARY
MPEG
MPG
PDF
PIC
PICT
PL
PNG
QT
RA
RAM
RM
RTF
SEA
SHTM
SHTML
SIT
SND
SWF
TIF
TIFF
TPL
TXT
WAV
ZIP
BINARY
BINARY
BINARY
BINARYBINARYASCIIBINARY BINARY BINARY BINARY BINARY BINARY BINARY ASCII
ASCII
BINARY BINARY BINARY BINARY BINARY BINARY
ASCII
BINARY
BINARY
  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

My server is down

Before you open a ticket or contact us, do the following to be sure it IS ours machine that is...

My site has been suspended.

Accounts are invoices 3-4 weeks in advance via email.  Reminder notices are sent out at 3 days...

Disk Space Allotment and Overages

Each hosting plan is allocated a specific amount of disk space that it can use, depending on the...