icon Get the most out of Surmunity, read our tips here! Need an interesting blog to read? You've got to read the Surpass Blog! | Welcome! Please register to access all of our features.

» Surpass Web Hosting Forums » Choosing Surpass » Signed Up? » Root Path?

Signed Up? If you're new with a question, ask here!

Reply
 
LinkBack Thread Tools Search this Thread
Old June 25th, 2006, 9:33 PM   #1 (permalink)
Registered User
Fresh Surpasser
 
Joined in Jun 2006
2 posts
Gave thanks: 0
Thanked 0 times
Unhappy Root Path?

Hello,

I'm not new to websiting, but I am new to installing a PHP program. I'm trying to set up a PHP program under a subdomain, 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?

Ahh.. sorry if this question is elsewhere on the site. I've searched but I can't seem to find it. :/

Thanks for your help!

And wow, this forum has some sweet emoticons:

YES, DANCE MJ, DANCE BETWEEN THE CHIPOTLE BURRITOS!
genki is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old June 25th, 2006, 10:29 PM   #2 (permalink)
pineapples are sharp
Super #1
 
Brandonnn's Avatar
 
Joined in Dec 2005
5,777 posts
Gave thanks: 147
Thanked 151 times
i don't believe you have access to the root path unless you have a dedicated... do you have a dedicated?
Brandonnn is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old June 25th, 2006, 10:36 PM   #3 (permalink)
Registered User
Fresh Surpasser
 
Joined in Jun 2006
2 posts
Gave thanks: 0
Thanked 0 times
Oh... I guess maybe not. I have a "Learner" hosting plan that isn't even offered anymore.

So that is to say I can't install any PHP scripts unless I get a "Dedicated" plan? :/
genki is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old June 25th, 2006, 10:57 PM   #4 (permalink)
pineapples are sharp
Super #1
 
Brandonnn's Avatar
 
Joined in Dec 2005
5,777 posts
Gave thanks: 147
Thanked 151 times
dedicated or vps i think.
Brandonnn is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old June 25th, 2006, 11:09 PM   #5 (permalink)
Skittles
Super #1
 
DewKnight's Avatar
 
Joined in Aug 2004
Lives in a space ship
Hosted on dedi
6,816 posts
Gave thanks: 101
Thanked 199 times
If you're using a script that just needs to know the path to where it's at, it would be /home/username/public_html/path-to-script
__________________
Mountain Dew Knight
People should not be afraid of their governments. Governments should be afraid of their people.
DewKnight is online now  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old June 25th, 2006, 11:16 PM   #6 (permalink)
Insanely
Super #1
 
Skipdawg's Avatar
 
Joined in Jul 2005
Lives in Northwest USA
4,154 posts
Gave thanks: 39
Thanked 78 times
Quote:
Originally Posted by genki
Oh... I guess maybe not. I have a "Learner" hosting plan that isn't even offered anymore.

So that is to say I can't install any PHP scripts unless I get a "Dedicated" plan? :/
What kind of scripts are you talking about? and with that old learner plan do you have cPanel and ftp access? Not familiar with it. Before my time. The learner plan that is.
__________________
Skipdawg is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old June 25th, 2006, 11:22 PM   #7 (permalink)
H
after g, before i
Resident.
 
H's Avatar
 
Joined in Jul 2004
Lives in N,BC,CA
8,087 posts
Gave thanks: 48
Thanked 131 times
I don't recall a "learner" plan, but there once was a "lite" plan. Could that be the one you are refering to?

Also, you shouldn't require root access to install PHP scripts. Not unless it's requiring something more than just PHP.

And as far as I know, if you have SSH, you can likely view directory structure back to the root directory, but shouldn't have any access to other accounts. I'm not certain though as I've never actually used SSH with Surpass or CPanel.
H is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old June 25th, 2006, 11:32 PM   #8 (permalink)
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  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On