What is the exact physical path to your root directory on the web-server?

 

The path to your root directory is:
/home/username/

Obviously, substitute "username" with the login you were assigned when you first received your account details. Also, when you configure your CGI,  remember to include your /public_html in your path. For instance, if you have a guestbook.pl script in your /cgi-bin, the exact physical path to that file is:
/home/username/public_html/cgi-bin/guestbook.pl

 

  • 9 Users Found This Useful
Was this answer helpful?

Related Articles

What is CGI?

CGI (“Common Gateway Interface") includes programs that run on servers so as to enhance the...

Do you allow CGI to run on your servers?

We do allow running of CGI scripts on our servers; however, they must conform to our acceptable...

What’s the correct path to perl?

Before a CGI script will work, certain modifications must be made. Certain paths must be...

What is the path to send mail?

Another program that needs to be specified in many scripts is sendmail. This is located at...

Why doesn't my CGI work?

Make sure, when you upload the CGI file, that you DO NOT upload it in binary mode - rather, use...