Knowledgebase

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: n       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.

 n       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.  n       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. n       Are you missing the cgi-bin directory?If so, you will need to create the /cgi-bin directory in your root directory. n       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

Was this answer helpful?

 Print this Article

Also Read

My site has been suspended.

Did you receive a message when you visit your site that it has been temporarily disabled, OR...

My site has been temporarily disabled.

Did you receive a message when you visit your site that it has been temporarily disabled, OR...

My server is down!

My server is down!Before you open a ticket or contact us, do the following to be sure it IS...

Powered by WHMCompleteSolution