Inertia Posted February 5, 2004 Share Posted February 5, 2004 Hello, When i first installe dmy redhat 9.0 with apache 2.0.40 I disabled directory listing (dont remember how i did it) , and now I want to enable it, preferably for just some virtual hosts, but if thats not possible then globaly across apache. Hope somone can help, I have searched through httpd.conf and cant see how to do it there (unless im missing it i am a bit tired) Thankyeee ME :) Link to comment Share on other sites More sharing options...
Banjo Posted February 5, 2004 Share Posted February 5, 2004 In httpd.conf, find the part with "<Directory />" on the Options line below that, add -indexes. If you want to add it for a specific directory, make sure allowoverride is on and then put options +indexes in .htaccess. Link to comment Share on other sites More sharing options...
Inertia Posted February 6, 2004 Author Share Posted February 6, 2004 you mean like so : <Directory "/"> Options FollowSymLinks -indexes AllowOverride AuthConfig </Directory> doesnt seem to work what does follow symlinks do ? is that whats breaking it ? Link to comment Share on other sites More sharing options...
Banjo Posted February 6, 2004 Share Posted February 6, 2004 Oops, sorry, that should be options +indexes if you want to enable it Sorry :blush: Link to comment Share on other sites More sharing options...
Inertia Posted February 6, 2004 Author Share Posted February 6, 2004 thats got it, thanks m8 :) Link to comment Share on other sites More sharing options...
Recommended Posts