Make sure, when you upload the CGI file, that you DO NOT upload it in binary mode - rather, use ASCII mode. Uploading in binary mode will cause the server to not recognize the scripts as executables. Most FTP clients will upload .pl or .cgi files in binary mode by default, so you will need to manually 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-up the file permissions. This is also known as “CHMODing" and can be done from most FTP clients. For specific queries on chmoding, please refer to our CHMODing General Informat