Author Topic: What are the problems faced while uploading the CGI scripts?  (Read 43 times)

mvminfotechseo

  • Sr. Member
  • ****
  • Posts: 478
  • Welcome to Digital Marketing Forum!
    • View Profile
What are the problems faced while uploading the CGI scripts?
« on: October 17, 2018, 05:56:09 am »
What are the problems faced while uploading the CGI scripts?

mtgfanboy18

  • Full Member
  • ***
  • Posts: 145
  • Welcome to Digital Marketing Forum!
    • View Profile
CGI (Common Gateway Interface) script is a program that runs on a web server. It is the normal practice applied for communication between a web server and client browser.

CGI scripts do not function when uploaded in BINARY mode. If you are using MS Windows to write your script you have to make sure the new lines are in the format required to upload the scripts. Use a text editor to convert the files between new line formats. Most of the contemporary editors read and write files using ASCII modes which do not support the standard Windows editor.

12Three

  • Full Member
  • ***
  • Posts: 149
  • Welcome to Digital Marketing Forum!
    • View Profile
    • 12Three
CGI (Common Gateway Interface) script is a program that runs on a web server. It is the normal practice applied for communication between a web server and client browser.

CGI scripts do not function when uploaded in BINARY mode. If you are using MS Windows to write your script you have to make sure the new lines are in the format required to upload the scripts. Use a text editor to convert the files between new line formats. Most of the contemporary editors read and write files using ASCII modes which do not support the standard Windows editor.

When you upload your files you have to be sure that your file permissions are set in the right manner. Do not set it to the read, write and execute for everyone mode and change it to make them readable on the web server and client browser.

Apache web server comes with a default option that allows the execution of CGI scripts only from your CGI directory. You cannot execute a CGI script from a different directory and if you are trying to execute it from a different directory you will have to notify Apache server and take permissions. You also should enable FTP programs using the CHMOD(CHangeMODe) command to set permissions for files and folders to be uploaded.

 

Digital Marketing Forum is a do-follow forum, post and discuss IT topics here and get dofollow signature. Discuss about SEO, SMO, Directory Submission, 301 redirection, robots, social bookmarking, Web design and development.