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


Howlin Mad Murdock
06-19-2001, 02:58 PM
Hello,

How do you configure apache so if you dont have a index.html file, it will show you the listing of all of the files in the directory?

Thanks,

Murdock

undef
06-19-2001, 06:53 PM
change the file permission so that it's readable by every one

Craig McPherson
06-19-2001, 07:35 PM
You have to have the Indexes option set.

You can set it site side by doing something like this in your httpd.conf:

<Directory />
Options Indexes
</Directory>

You probably already have a <Directory /> directive, and it probably already has an Options line: if that's the case, just add "Indexes" to the list of options.

You can set the Index option for specific directories in the same way.