PDA

View Full Version : Enabling Directory Browsing?



TheMillionaire
11-29-2003, 09:57 AM
(I apologize if I'm posting this in the wrong place. 1st time posting here, only been a Westhost customer for 2 days)

Whenever I type in yourdomain.com/directory (note: replace domain with proper domain and directory with the name of a directory), I get a 403 Forbidden message (doesn't have an index page, nor do I want the directory to have an index page).

How do I enable directory browsing and not get that 403 Forbidden message?

adpwl1
11-29-2003, 10:56 AM
To get the folder to display the contents you will need to create a file called .htaccess (including the period at the start) and place it in that directory (it will also effect any subdirectories in that folder). All that needs to be in the .htaccess file is the following:

Options +Indexes

TheMillionaire
11-29-2003, 11:34 AM
Thank you so much! :D