Common variables and paths for Scripts

Path to Perl

  /usr/bin/perl

This means that the top line of your perl/cgi scripts should be  #!/usr/bin/perl

Don't put a trailing / at the end of perl  

Absolute path on Linux

/hsphere/local/home/$user/$domain.com
(ie. hsphere/local/home/john/mysite.com)

Absolute path on Windows Plans

 d:\hshome\$user\$domain.com
(ie. d:\hshome\bob\hisdomain.com )

Correct File Permissions
(Must have correct permissions to run)  

755 or  XXX  X-X  X-X.  

Date retreival

/bin/date  

path to sendmail

/usr/sbin/sendmail  (Linux Only.  Not avail on Windows)

See Also