What Are the Problems Faced While Uploading the CGI Scripts?

Post a reply

Confirmation code
Enter the code exactly as it appears. All letters are case insensitive.
Smilies
:D :) ;) :( :o :shock: :? 8-) :lol: :x :P :oops: :cry: :evil: :twisted: :roll: :!: :?: :idea: :arrow: :| :mrgreen: :geek: :ugeek:

BBCode is ON
[img] is ON
[flash] is OFF
[url] is ON
Smilies are ON

Topic review
   

Expand view Topic review: What Are the Problems Faced While Uploading the CGI Scripts?

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

Post by 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

What Are the Problems Faced While Uploading the CGI Scripts?

Post by admin » Tue Mar 28, 2017 9:48 am

please explain this.

Top