CGI Installation and Server Paths

NOTE: These are general guidelines for installing Perl Scripts. Refer to the readme file that came with your specific script for more information.

To install your Perl scripts, follow these steps:

  1. Open the script files with an editor such as Notepad and make sure that the server paths are correctly entered (See server paths below.)

  2. Upload the script files to your server in ASCII mode. The script will not work if you upload the files in BINARY mode. You need to place the script files in the public_html sub-directory named "cgi-bin".

  3. Change the permissions for your script files. Most scripts require that you make them executable. Many FTP applications allow you to change a file to executable by right-clicking the file on the remote system and clicking CHMOD (Refer to the readme file that came with the script for more information on CHMOD settings.)

Server Paths:

Path to Perl: /usr/bin/perl

Path to PHP: /usr/bin/php

Path to Sendmail: /usr/sbin/sendmail

Path to Date: /bin/date

Path to Account: /home/username/public_html

Replace username with your actual account username.

  • 114 Users Found This Useful
Was this answer helpful?

Related Articles

General SSI Information

SSI (Server Side Include) tags allow you to include dynamic content in standard HTML pages. All...

Do you know of any PHP resources?

An excellent resource for users of PHP is http://www.devshed.com/c/b/php/ They also have a nice...

How do I use the Ioncube loaders?

The Ioncube loaders are installed and ready for use so you don't need to do anything to use them.

What is the path to Perl?

The path to Perl on our servers is: /usr/bin/perl

What is the path to ImageMagick?

Imagemagick is a popular utility for manipulation of image files within scripts and is often used...