Allowing Directory listing for certain directories...

chasjs

Verified User
Joined
Nov 1, 2004
Messages
48
Location
Colorado
I am trying to set up password protected directories for one domain and I would like to allow directory listing for those directories. Right now the settings are such that if index.html is not in the directory your get a forbidden error.

Is there a way to change the permissions using directadmin so the certain folders would allow directory listing?

Thanks.
 
You can create a .htaccess file in that folder you want to have listings and add the following line:

Code:
options +indexes
 
Back
Top