What Are the Problems Faced While Uploading the CGI Scripts?

Discuss about shared web hosting and web hosting in general.
admin
Site Admin
Posts: 85
Joined: Sat Jun 18, 2016 7:35 am
Location: India
Contact:

What Are the Problems Faced While Uploading the CGI Scripts?

Postby admin » Tue Mar 28, 2017 9:48 am

please explain this.
Contact Number : 1800-212-2022
Sales: sales@computehost.com

Links To Our Service Pages:

Cloud Hosting India | Dedicated Server Hosting

admin
Site Admin
Posts: 85
Joined: Sat Jun 18, 2016 7:35 am
Location: India
Contact:

Re: What Are the Problems Faced While Uploading the CGI Scripts?

Postby admin » Fri Mar 31, 2017 9:55 am

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. CM YOJANA
Contact Number : 1800-212-2022
Sales: sales@computehost.com

Links To Our Service Pages:

Cloud Hosting India | Dedicated Server Hosting


Return to “General Web Hosting Discussions”

Who is online

Users browsing this forum: Veronapgd, Veronaqzb and 3 guests