cPanel - access to files in folder - beginner question

ania_kay

Registered
Apr 19, 2012
2
0
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
 

ania_kay

Registered
Apr 19, 2012
2
0
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