apache directory listing


Recommended Posts

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

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

you mean like so :

&lt;Directory "/"&gt;
        Options FollowSymLinks -indexes
        AllowOverride AuthConfig
&lt;/Directory&gt;

doesnt seem to work

what does follow symlinks do ? is that whats breaking it ?

Link to comment
Share on other sites

This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.