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

Posts: 261
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
orionoreo is offline
Reply With Quote
View Public Profile
 
 
When You Register, These Ads Go Away!
Old 07-15-2009, 06:46 AM Re: how to upload to ../httpdocs
damien_ls's Avatar
Layershift

Posts: 461
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.
__________________
Layershift :: DDS & Dedicated, UK & USA-based Managed Virtuozzo VPS, Reseller & Shared Hosting
Experienced Parallels Platinum Partners (Plesk since 2001, Virtuozzo since 2004)
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: 261
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?
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 Off
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.10910 seconds with 13 queries