Program Paths

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/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.

  • 0 Bu dökümanı faydalı bulan kullanıcılar:
Bu cevap yeterince yardımcı oldu mu?

İlgili diğer dökümanlar

Accessing phpMyAdmin

phpMyAdmin is a tool written in PHP that allows you to administrate your MySQL...

PHP Scripts

PHP scripts are fully supported on all servers running DirectAdmin Web Control...

Understanding Permissions

File permissions define who can read, write, and execute files such as...

Viewing Installed Perl Modules

From the main control panel menu click the "Advanced Tools" icon, then the...

CGI Scripts

All CGI scripts must be placed in your cgi-bin directory.  The cgi-bin...