Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

Web Hosting Forum


You are currently viewing our Web Hosting Forum as a guest. Please register to participate.
Login



Reply
how to upload to ../httpdocs
Old 07-15-2009, 03:39 AM how to upload to ../httpdocs
orionoreo's Avatar
Ultra Talker

Posts: 335
Name: Jerry
Trades: 0
So now i have my VPS i was wondering how to upload/create folders above httpdocs... i want to keep my includes there
__________________

Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
orionoreo is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 07-15-2009, 06:46 AM Re: how to upload to ../httpdocs
damien_ls's Avatar
Layershift

Posts: 474
Name: Damien
Trades: 0
I'm guessing that you're using Plesk, in which case I wouldn't recommend doing it the way you describe. You have two possible alternatives instead:

1) Create a vhost.conf to move your DocumentRoot to a subdirectory of httpdocs (that way you can place your include files in httpdocs and your actual website in the subdirectory)

2) Just have your includes directory in httpdocs as normal, but put a .htaccess into the includes directory to 'deny from all' so that it's not web accessible. This way it will only be accessed by scripts on the filesystem.
__________________

Please login or register to view this content. Registration is FREE
:: DDS & Dedicated, UK & USA-based
Please login or register to view this content. Registration is FREE
, Reseller & Shared Hosting
Experienced Parallels Platinum Partners (Plesk since 2001, Virtuozzo since 2003)
damien_ls is offline
Reply With Quote
View Public Profile
 
Old 07-15-2009, 01:33 PM Re: how to upload to ../httpdocs
orionoreo's Avatar
Ultra Talker

Posts: 335
Name: Jerry
Trades: 0
thanks damien.. I suppose I was used to cpanel's file structuring where I was able to do this..

I think I'll work with #2 because my site was originally structured that way...

now the question is... the includes are shared by the secured and non-secured side... should i keep it in the httpsdocs or httpdocs?
__________________

Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
orionoreo is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to how to upload to ../httpdocs
 

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 Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.21945 seconds with 12 queries