|
|||||||||||||||||||||||||||||||||||||||||
|
:::::
Commomn Gateway Interface (CGI) :::::
CGI allows you to incorporate dynamic content into your website. You may either write your own programs (usually in Perl) or incorporate one of the many pre-written CGI scripts available on the web (i.e. Matt's Script Archive, etc.). Read Apache's CGI tutorial before any thing else. Your CGI folder is located in the root of your website. Scripts located in that folder are accessible through the http://www.yourdomain.com/cgi-bin/scriptname.cgi address. The Perl path required at the top of every script is "/usr/bin/perl" You must give your script read & execute permissions to "others" (otherwise it will return an error). Make sure that your script does not have write permissions otherwise you may jeopardize the security of your web site (and possibly the server). |
Welcome |