Check Domain availability

 

CGI, Perl, Sendmail FAQ's

 

What is the path of sendmail?

The path to Sendmail on all of our servers is:
/usr/sbin/sendmail

 

What is the path to my cgi-bin directory?

The path to the cgi-bin directory on all accounts is:
/home/username/public_html/cgi-bin/

The path to the cgi-bin directory for subdomains is:
/home/username/public_html/subdomain/cgi-bin/

 

What is the path to perl?

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

Note that this is the common default path used on the first line (aka the "shebang" line) in most Perl scripts so in most cases it will not be necessary to edit the path to Perl in the scripts you install.

 

What version of Perl are you running?

All of our servers are running Perl version 5.6.1.

Please note, that some web servers have received upgrades to the newest Perl version. All of our web servers will soon be updated Perl vesion 5.8.1.

 

Where should I put my Perl scripts?

Perl scripts (*.pl, *.cgi files) can be executed from any location within your public_html directory. While there are a few relatively minor potential benefits in storing Perl scripts within the cgi-bin directory doing so is strictly optional.


Possible benefits of storing Perl scripts in cgi-bin:

- As /cgi-bin is a common default location used to store Perl scripts many free scripts will be setup to run in that path by default;

- Users of Microsoft FrontPage should note that storing scripts in cgi-bin will decrease any chance of FrontPage making unwanted permission setting changes

 

Back to web hosting faqs

 
Ram Web hosting © 2009-10     |     Privacy Policy