Most CGI scripts that read or
write to files require that you provide the path to your home
directory.
Unix PRO, EXPERT and E-Commerce Accounts
For Unix PRO, EXPERT and E-Commerce accounts
(which support a telnet shell), you can determine your home
directory by logging onto the server using telnet and entering this
commend:
pwd
This command will display your home directory. For
example:
server:/>pwd
/home3/your-domain
In this example, the home directory is shown in red,
and the command entered is shown in blue.
To log off the server, enter exit.
Once you know your home directory, you need to add
to that the directory in which you have placed your CGI script. For
example, if your CGI script were placed in a directory named:
public_html/mycgi
The full path to that directory would be:
/home3/your-domain/public_html/mycgi
Unix Virutal Accounts
Unix Virtual accounts do not include a telnet
shell. If you do not know what you home directory is, please contact
our support department.
|