Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

cPanel - access to files in folder - beginner question

Discussion in 'General Discussion' started by ania_kay, Apr 19, 2012.

  1. ania_kay

    ania_kay Registered

    Joined:
    Apr 19, 2012
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    51
    cPanel Access Level:
    Website Owner
    Hi everyone,
    Sorry if this is a really simple question, I am new to this.

    When I had my site hosted somewhere previously, I was able to create a folder into which I uploaded a few files. I protected this folder with a username and password. I then gave the address of the folder to a few friends, and using the username and password I gave them, they werre able to see and download the files in that folder. I had no "index.html" or similar file in the folder, just a couple of MS word and excel fiels for my friends to see.

    I have just moved my hosting to a new company, and have created the same folder, and again created password protection, and uploaded the same files into the folder. Now if I have an "index.html" file in there, the folder opens to that file (so the username and password are working). But if I don't have that file, it comes up with an error page instead of a list of files available in the folder.

    The error says:
    Forbidden
    You don't have permission to access /cocp/ on this server.
    Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.

    What do I need to do to allow my firends to see a list of files in that folder like they were able to before?

    Thanks,
    Ania
     
  2. Infopro

    Infopro cPanel Sr. Product Evangelist
    Staff Member

    Joined:
    May 20, 2003
    Messages:
    16,429
    Likes Received:
    415
    Trophy Points:
    583
    Location:
    Pennsylvania
    cPanel Access Level:
    Root Administrator
    Twitter:
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. ania_kay

    ania_kay Registered

    Joined:
    Apr 19, 2012
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    51
    cPanel Access Level:
    Website Owner
    Thank you very much - that fixed it!
    I knew it would be something simple, but if you don't know, you gotta ask.
    Cheers!
    Ania
     
  4. Infopro

    Infopro cPanel Sr. Product Evangelist
    Staff Member

    Joined:
    May 20, 2003
    Messages:
    16,429
    Likes Received:
    415
    Trophy Points:
    583
    Location:
    Pennsylvania
    cPanel Access Level:
    Root Administrator
    Twitter:
    You're certainly welcome. Your Hosting Provider should have been able to assist you with this. Me, I was just guessing that might be the prob. ;)
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice