How do you make apache show directories?

22Admub

Member
Jun 7, 2003
51
0
0
I think you just make sure that there's no file in your ./folder that's name index.*
That should do it.
 

Need4Speed

Diamond Member
Dec 27, 1999
5,383
0
0
Originally posted by: 22Admub
I think you just make sure that there's no file in your ./folder that's name index.*
That should do it.

not quite that simple....
in httpd.conf yo have to set the "Options" for a particular directory or set "options" for the root of the web, allow overrides and then use htaccess to allow indexing of certain dirs.

i do not allow indexing from the root down, but allow overrides with htaccess....so mine look like this in httpd.conf

<Directory "/var/www/html">
Options -Indexes
AllowOverride AuthConfig Options Indexes FileInfo Limit

then i place an .htaccess into the dir in question:
Options Indexes FollowSymLinks