General Insructions for Installing

A Perl Script on a UNIX WWW server

 
First Line
  The very first line (no blank lines allowed either) of the Perl script must point to the location of Perl on the local machine.
It should normally read:
#!/usr/bin/perl           or sometimes
#!/usr/local/bin/perl
If your local copy of Perl is elsewhere you might find it by typing: "which perl" (w/o the quotes) at your shell prompt.
 
Uploading
  If you upload the file to the UNIX machine do it in ASCII or text mode
not in binary mode.
 
Check
  Make sure that any user definable variables (if any) are correctly set.
Make sure that all file names involved are correct.
Be especially careful that any path and URL variables are correct.
 
Permissions
  Place the file(s) in a directory and set the permission to execute the script file.
The command: "chmod 755 filename.ext" (w/o the quotes) should do it.
Set all other permissions on auxiliary files correctly.
The command: "chmod 666 filename.ext" will make "filename.ext" world readable and writeable.
 
Your System
  Make sure that you have the ability to run CGI and Perl from the directory that you have placed the script in. Note that some systems require the files to be in a cgi-bin directory, Your system administrator, web site host, or local guru should be able to help you determine this.

Hopefully the above information will help you avoid some of the most common errors made when attempting to configure a Perl script on a UNIX based web server. If we missed something, or you have any other comments please let us know.

Disclaimer

All information provided by Global Action Internet Services or any of its representatives comes without any warrantee whatsoever. Specifically, the warranties for merchantability and fitness for a particular purpose are hereby disclaimed.
The information is provided strictly "as is" and may contain typographical errors and/or inaccuracies. Neither Global Action Internet Services nor any of its representatives are responsible for any damage or loss that may result from the use of this information, whether the information is accurate or not and even if Global Action Internet Services has been informed of inaccuracies. All use of any of this information is strictly at your own risk.

Our lawyers make us say that.


The Scripts