allow indexes for one directory

A

Anonymous

Guest
I was wondering how to allow (if possible) indexes for just one directory?
Or is it allow for all, or none?
I am running apache 2.0 on win32 XP.

Thanks.
 
Code:
<Directory "/directory_you_want_the_index">
     Options Indexes
</Directory>
Or in your case:
Code:
"\directory_you_want_the_index"
:)
 
sorry guys, but that no worky.
I put it in under the place that says,
Code:
# Each directory to which Apache has access can be configured with respect
# to which services and features are allowed and/or disabled in that
# directory (and its subdirectories). 
#
# First, we configure the "default" to be a very restrictive set of 
# features.  
#
Is this not the correct place?
 
I agree: it pretty hard to keep httpd.conf inthe head... And it my case its httpd.conf, vhost.conf php.conf and modules.conf.. hehe. i needed to separate the whole file into smaller parts that i access all the time.. hehehe
 
Back
Top