PDA

View Full Version : How to enable Directory Browsing?



modem
03-15-2005, 05:47 PM
I have created a folder of pictures using DirectAdmin under my admin account for my own personal use. Instead of having to create an HTML file or PHP file, what I'd like to do is have people goto www.modemnet.net/03152005 and be able to browse the lists of pictures. Right now when I goto that URL I get the following error message:

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

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.


Where in DirectAdmin can I change the settings to allow directory browsing just for this folder??

ballyn
03-15-2005, 05:52 PM
Create an .htaccess file in the 03152005 folder with a single line:


Options Indexes

Otherwise, you need to change the "Directory" configuration in apache to allow "Indexes" by default... I believe that these are either specifically disabled (via "-Indexes") or are not enabled in the Options line.