Why doesn't my CGI work ?

Make sure when you upload the CGI file DO NOT upload in binary mode, instead use ASCII mode. Uploading in binary will cause the server not to recognize the scripts as executables. Most FTP clients will upload .pl or .cgi files in binary mode by default so you will need to change this. You will need to upload the scripts into your cgi-bin directory for security reasons, however they will execute from anywhere within your account.

The last step is to set the file permissions. This is otherwise known as chmoding and can be done from most FTP clients (select file then right click for popupmenu). Make sure you CHMOD your scripts to "755" otherwise you will get errors.
  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

What is the exact physical path to your root directory on the webserver ?

The path to your root directory is:/home/username/Obviously, substitute "username" with the login...

I am unable to delete CGI related files...

If you have any files or folders that were created by a cgi script running on your account, you...

How do I setup Hit Counters, Guestbooks, etc ?

We have a collection of CGI scripts that are already pre-installed on your hosting account. Some...

Do your servers support Python ?

Yes. It can be found at the following location:/usr/bin/python

Can I use flat file database driven forums ?

We do not allow the use of flat file database driven forums such as UBB or YABB bulletin boards....