|
Answer
by: George Kaloyanov, Aplus.Net Knowledge Base Support
You
can find the full path to your web hosting directory by accessing
the serverinfo.cgi file that is located in your cgi-bin directory,
simply by going to http://www.yourdomain.com/cgi-bin/serverinfo.cgi.
The path, listed as “current directory” under the Local
Configuration header, will look like this:
/home/partition/username/directoryname
Note:
Please replace yourdomain.com with your actual hosted domain name
Where:
- Partition: corresponds
to the identifier of the server partition that your site is hosted
on. It consists in most cases of the lowercase letter “u” followed
by a number.
- Username: this is the
same as your Main FTP username.
- Directory name: the exact
name of the directory you are accessing.
The
absolute path to your html folder looks like: /home/partition/yourftpusername/html
Example: If a site is on partition u5, with username aplus,
and has a test file in the html/images/ directory, the correct full
path would be:
/home/u5/aplus/html/images/test
Important:
You can also use the Usage Meter tool available in the Control
Panel to find out the absolute path to your web hosting directory.
With Unix-based hosting, the tool presents also other valuable information,
including your usage on bandwidth, CPU time and MySQL service.
Related
links:
|