CGI / Perl Scripts:

 

 

What Directory Paths do I need to use for my scripts?

How do I configure FormMail.pl?

How do I configure a hit counter for a web page?

All customer perl scripts are to be located in the following directory:

/home/<username>/virtual_html/cgi-local/


The /cgi-local directory itself and the cgi/perl scripts within must all be owned by the user and have the following rights:

755 - (rwx r-x r-x)

CGI/Perl Resource Paths

We allow all users to implement their own CGI/Perl scripts. There are a few common parameters that most scripts will require to execute, they vary depending on the configuration of the host. Below are some of these parameters that you may need to know when installing your own CGI/Perl scripts.

Perl Path - #!/usr/bin/perl

Sendmail Path - /usr/sbin/sendmail

Date Path - /bin/date

 

   

 

 

 

Copyright ©2002 — Castle Palms Networking