How Do I Install A CGI Script? Part 1
It's a good idea that you to prepare what will be needed for the process of installation, and save them in a text file so you can use it for installing other scripts in the future.
You can either use telnet or any FTP program for uploading or downloading a file to your server. CoffeeCup Free FTP is a great free FTP program. For beginners, this kind of FTP software can make your work much easier. You may search for this program on Download.com.
1. Find the location of the Perl program in your server.
This is the path of the Perl interpreter in you server. You can get this information by either telnet your server (if you have the access to telnet your server because some servers don't allow you to use this facility) or by asking your system administrator. It may be something like this:
# ! /usr/local/bin/perl
This will vary from server to server.
If you have telnet access you can type the following and you will find the path:
2. The server path (or root directory path) to your cgi-bin directory.
Remember this is not the URL of your cgi-bin directory, but this is the path of the the cgi-bin directory in your server. Your server administrator should tell you this if they allotted a cgi-bin directory with full access. This may look like this:
3. The URL of the cgi-bin directory.
This may be like this:
4. Path of the sendmail program.
This will be used by the scripts which are sending any input information from your site to the users or to you by E-mail. For example, a feedback form uses the 'sendmail' program to send the details (which was filled up and sent by the user) to your mail box. This could be like this:
Contined On Next Page
Provided by Stylusinc.com
Located at http://www.stylusinc.com/cgi_installation/chapter8.htm
|Home | Software | Support | Knowledge Base | Affiliates | Contact | Take The Tour|
Copyright ©1994-2009 SiteInteractive.com All Rights Reserved.