Frequently Asked Questions


Those information — paths for using CGI, Perl, scripts

CGI scripts should be run in the /cgi-bin/ directory, which is located inside the /public_html/ directory where html files are located. PHP scripts should be located in the /public_html/ directory, or child directories.

Scripts must have an extension .cgi or .pl, PHP scripts — extension .php.

File upload directory = public_html

Path to the cgi-bin directory = /home/username/public_html/cgi-bin

Path to HTTP directory = /home/username/public_html

CGI URL = http://www.yourdomain.com/cgi-bin/yourscript.cgi

Path to Perl = /usr/bin/perl

Path to Python = /usr/bin/python

Path to sendmail = /usr/sbin/sendmail

Path to date = /bin/date

* where username is your username in the system



File upload directory = public_html
Path to the cgi-bin directory = /home/username/public_html/cgi-bin
Path to HTTP directory = /home/username/public_html
CGI URL = http://www.yourdomain.com/cgi-bin/yourscript.cgi
Path to Perl = /usr/bin/perl
Path to Python = /usr/bin/python
Path to sendmail = /usr/sbin/sendmail
Path to date = /bin/date
* where username is your username in the system