Click to See Complete Forum and Search --> : directory browsing


mandrake
01-23-2002, 04:24 PM
Is there a way to allow directory browsing in Apache? I would like to be able to list all the files in my web directory.

furrycat
01-23-2002, 09:40 PM
Inside your httpd.conf do

<Directory /path/to/the/directory>
Options Indexes
</Directory>

or write a file called .htaccess in that directory with the line "Options Indexes" (for this to work you also need "AllowOverride Options" or "AllowOverride All" inside a <Directory> block of some parent path of the directory in question.