| |

CGI Questions & Answers
1. Overview
2. Paths to Mail, Perl, Web & CGI


What is CGI?
CGI stands for "Common Gateway Interface," a fancy name meaning computer programs running on the web server that can be invoked from a www page at the browser. The "bin" part alludes to the binary executables that result from compiled or assembled programs. CGI scripts need to be saved in ASCII format and uploaded to your server's cgi-bin in ASCII or text format.
Where should my CGI/Perl Scripts be placed?
All Perl and CGI files should be uploaded to the "mainwebsite_cgi" directory (or /var/www/cgi-bin as the path). This will ensure that all scripts are properly executed.



Below are the paths to the common server resources:
| Perl: | /usr/bin/perl |
| Sendmail: | /usr/sbin/sendmail |
| Web Document Path: | /var/www/html |
| CGI Document Path: | /var/www/cgi-bin |


|
|