What are the program paths for using scripts?
Posted by Daniel on April 21, 2006
The following paths are commonly needed by scripts.
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/yourdomain.com/public_html/cgi-bin
Path to cgi-bin (subdomain):
/home/username/domains/yourdomain.com/public_html/subdomain/cgi-bin