Why my CGI not work?
All your CGI file need to be uploaded in ASCII mode. Uploading in binary mode will cause the server not to recognize the scripts as executables. As most of the FTP clients will upload .pl or .cgi files in binary mode by default so you will need to change this. The cgi script need to be uploaded into cgi-bin folder under public_html folder for security reason. Also, you need to set the permission for cgi-bin folder to 755 mode.