Skip to main content
< All Topics
Print

Program Paths

The following paths are commonly needed by scripts.

Path to pearl:  
/usr/bin/pearl  

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: If these paths don’t work, it is possible that your host has installed your account on somewhere other than /home. Please contact them to get the correct paths.