Web Sites and Ezine Design and Hosting

 

Web Sites - Installing Perl Scripts

Home Customer Support Web Sites Scripting Perl Scripts

Perl Scripts

Scripting may be used to add special features to your web pages. Perl scripts are available for many commonly added functions.

Caution: Perl scripts may have place specialized requirements on the server perl libraries. Contact support@webvalence.com if you have unusual perl library requirements.

Installing Perl Scripts

The path to perl is: usr/bin/perl and the path to your web site is /Users/firstLastName/sitename/

Permission to Execute Scripts

WebValence does not enable permission to execute scripts on a web site unless specifically requested. Request that your web site be given execute permission by emailing support@webvalence.com.

Naming and uploading your script files

We recommend that you will name your script files with a ".cgi" file extension. The ".pl" extension also will work.

Create a folder called "scripts" and place your perl scripts in that. Other systems may use "cgi-bin" as the name of the folder that contains scripts. But, on our system, "cgi-bin" is reserved for scripts that are part of the system.

Making your scripts executable

Use your ftp client to give your script files execute permission. Execute permission is granted by the "755" triplet.

Example, from Unix ftp utility enter:
ftp> chmod 755 scriptname.pl

Testing your scripts

Browse to the location of the script on your web site. Ensure that your script produces some valid output. If the script dies with no output, Apache will report a system error.

Contact support@webvalence.com if you need help!

 

 
 

(503) 335-3442 · sales@webvalence.com · Copyright © 1997—2008 · All Rights Reserved