Top VPS Hosting Provider

Welcome to the myhosting.com Forums.
+ Reply to Thread
Results 1 to 7 of 7
  1. #1
    TheWebScaper is offline Junior Member
    Join Date
    Mar 2009
    Posts
    2

    Default Creating Directory Above Root

    Hi,

    I need to create a directory above my site's root directory, but when I FTP into my account it automatically takes me to the root directory. Is there any way that I can get access above the root?

    Thanks in advance.

  2. #2
    birge is offline Community Manager - Admin
    Join Date
    Jul 2009
    Posts
    105

    Default

    TheWebScaper,

    I am not sure if what you ask is possible but I will ask our technical team and get back to you.

    Birge
    Community Manager

  3. #3
    birge is offline Community Manager - Admin
    Join Date
    Jul 2009
    Posts
    105

    Default

    Hi again,

    I talked about your question with our technical team and they are saying that, It actually depends on the account. Windows 2008 accounts you can, but windows 2003 and linux you can't however you can create folders in your logs and tmp folders on the linux accounts which are outside of the root folder (/docs). We checked that your account and all of your Windows hosting plnas are Windows 2003-based. Our customer support might e able to help you to Windows 2008 if you really need this feature.
    You can visit myhosting.com - Need Help? Our 24-7 In-House Customer Support Service is ready to assist you.

    Regards,
    Birge
    CM

  4. #4
    TheWebScaper is offline Junior Member
    Join Date
    Mar 2009
    Posts
    2

    Default

    Hi Birge,

    Thanks for checking! The account for which I need to create the directory is a client site of mine - domain is oxfordrescue.org. It is a basic hosting on Linux.

    I think it would be fine to use either the logs or temp folder and create a sub-directory in there. How do I access them, however? When I FTP in, I do not see those folders. I also am not seeing those directories through File Manager.

    If this is something support needs to help with I can contact them. Thanks for your help so far!

    Kym

  5. #5
    birge is offline Community Manager - Admin
    Join Date
    Jul 2009
    Posts
    105

    Default

    Hi,
    In this case, it's better to contact with support team, since this kind of technical issues are way ahead of me. They'll help you better =)

    Let me know if you have another questions.
    Birge
    CM

    birgeb@softcom.com

  6. #6
    sgoodman is offline Master Member
    Join Date
    Jul 2008
    Location
    Alberta, Canada
    Posts
    397

    Question I have the same problem

    I need to create a directory that contains passwords, so the directory must not be publicly accessible. The only way to do this (that I know of) is to create it above the root folder (docs). However, when I tried to create the directory, my FTP program gave me error #550 "permission denied". I also tried to create the directory using MyHosting's browser-based File Manager, but I wasn't able to navigate above the root folder.

    Did you contact support? What did they say?

    Thanks,
    Shane.
    Basic Linux Hosting on classic platform; Parallels Plesk Panel 10.3.1

  7. #7
    nickh is offline Administrator
    Join Date
    May 2009
    Location
    Toronto, Canada
    Posts
    142

    Default

    Hi Shane. You can do this quite easily with an Apache htaccess file.

    Create the directory that you'd like to store your protected files in. This directory can be located anywhere in your website's directory heirarchy.

    Next, create a file named ".htaccess" (without the quotes) in that directory, and put the following Apache directives in it:
    Code:
    IndexIgnore *
    Order Allow,Deny
    Deny from all
    Now create some files and directories in your protected directory, and try to view them in a web browser. You should receive an HTTP 403 Forbidden error.

    If you have any questions, just holler!
    -Nick
    Nick Hoffman
    Software Developer
    SoftCom Inc.


 

Similar Threads

  1. Creating MX/mail Records?
    By teemo in forum Troubleshooting
    Replies: 2
    Last Post: 2009-05-25, 04:13 PM
  2. Host Directory Name?
    By jlondonphoto in forum Beginners
    Replies: 3
    Last Post: 2008-09-01, 04:45 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts