The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

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:
    1
    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:
    14,446
    Likes Received:
    195
    Trophy Points:
    63
    Location:
    Pennsylvania
    cPanel Access Level:
    Root Administrator
    Twitter:
  3. ania_kay

    ania_kay Registered

    Joined:
    Apr 19, 2012
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    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:
    14,446
    Likes Received:
    195
    Trophy Points:
    63
    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. ;)
     
Loading...

Share This Page