Program Paths
The following paths are commonly needed by scripts. These are standard paths for running Perl scripts, sending emails via sendmail, and accessing CGI directories:
-
Path to Perl:
/usr/bin/perl
-
Path to Sendmail:
/usr/sbin/sendmail
-
CGI URL:
http://www.yourdomain.com/cgi-bin/script.cgi
-
Subdomain CGI URL:
http://subdomain.yourdomain.com/cgi-bin/script.cgi
-
Path to cgi-bin:
/home/username/domains/domain.com/public_html/cgi-bin
-
Path to cgi-bin (Subdomain):
/home/username/domains/domain.com/public_html/subdomain/cgi-bin
Important Notes:
- If these paths don't work as expected, it's possible that your host has installed your account in a different location than the default
/home
. In such cases, please contact your hosting provider for the correct paths.