[users@httpd] "Options Indexes" in specified directories only

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The web document dir structure on my local dev machine is something like
this:

Document root
    |- site one
    |- site two
    |- site three
    |- test

I want "Options Indexes" for the "Document root" and "test" folder, not
for the other folders and without having to specify a config to disable
Indexes in "site one, site two, etc." so that I don't have to worry
about Indexes being enabled by default if I add a "site four".

What is the best way to do this?

I thought about using a regex to target subdirs of my document root to
specify "Options -Indexes", but since Directory containers using a regex
are evaluated last afaics this doesn't allow me to enable Indexes for
"test".

-- 
Spartanicus

(email whitelist in use, non list-server mail will not be seen)

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux