403 Forbidden

LeperKoN

New member
Joined
Jul 3, 2006
Messages
3
Whenever there is no index.html or php or whatever i get this instead of viewing all the files in that folder


Forbidden
You don't have permission to access /alex/ on this server.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
Apache/1.3.33 Server at ballmousewarriors.net Port 80


On my old webhosting I was able to view all the files in a folder that had no index.htm. How do I make my webhosting do this on my new host that uses DirectAdmin instead of CPanel?
 
You need to create a .htaccess file inside the folder you are viewing. It needs to contain

options +indexes
 
You just create one in the public_html folder.

It must be named

Code:
.htaccess

and in the file needs to be

Code:
options +indexes
 
Back
Top