|
Printer-friendly Documentation |
Before You BeginImportant Questions Before you begin setup, you must know the correct answers to several questions about your web server environment. If you cannot get the script to run, or you need support in debugging why errors occur, you must find the answers to all these questions. Debugging problems without know the answers to these questions is nearly impossible. Most users will not need to make any changes to their web server, nor will they need to modify or edit the scripts themselves in any way. However, not every web server and setup is the same, so some people may need to rely on some of this information to get the script functioning in their environment. Q: Does your web server support CGI scripts? If the answer is no, you cannot use this program. Q:In which specific directory, if any, does a CGI script have to be located? The typical answer is the cgi-bin directory, although some web hosts use a different name and some have no requirement at all for where CGI scripts must be located. Q: Does your web server support Perl 5? If the answer is no, you cannot use this program. Q: What is the full path to Perl5 on the server? Typically this is /usr/bin/perl, and if you don't know the answer to this you can try it first to see if the default works. If anything fails, you will need to find out the exact answer to this question. Q: Do perl CGI scripts need an extension of .pl or .cgi? On most systems, the .pl extension works best. For some, the filenames must be changed to .cgi. Q: What is the local filesystem path to the directory where the CGI scripts will be located? This is different than the web path. For example, your scripts might be in /cgi-bin/ on your web server, but on the local hard disk, they might be located in /home/username/web/cgi-bin/ for example. Some web hosts have "virtual" paths for users when they FTP into the web server, so it may be difficult to determine the actual full path to the directory. If this is the case for you, you will need to contact your web host for more information. For most users, this will not need to be known ahead of time. If you encounter a specific error during setup, you will need to know the answer to this question. Requirements
|