Thread: Root Path?
View Single Post
Old June 25th, 2006, 11:32 PM   #8 (permalink)
cowboy
Surpass Fan
Excelling Contributor
 
cowboy's Avatar
 
Joined in Nov 2005
Lives in Colorado
Hosted on DEDI
937 posts
Gave thanks: 2
Thanked 95 times
Quote:
Originally Posted by genki
...but I simply don't know what the Root Path (Absolute) is! I've tried a dozen different things, but what the heck is it?
Your script is looking for the actual (Absolute) server path rather than, or in addition to, the URL.

http://yourdomain.com/ url would have an actual path of /home/yourusername/public_html

A subdomain is contained in a folder under your public_html folder:
http://subdomain.com url would have an actual (Absolute) path of /home/yourusername/public_html/subfolder

Some scripts (rare) want an actual path after you have entered your own virtual host, ie. /public_html only, for your domain, or /public_html/subfolder for a subdomain.

So a server path for a subdomain will either be:

/home/yourusername/public_html/subfolder or (rare) /public_html/subfolder

FYI: when using FTP with yourusername, you start in your virtual host directory, ie. / -- an actual server path of /home/yourusername <-- which you will not see in your FTP client.
__________________
Where would you be if you were at the highest court in the land (US)?
cowboy is offline   Reply With Quote