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

Re: Apache Configuration: huh?




rob kent wrote:
>When trying to turn on directory indexing for user directories ONLY...
>I changed the userdir config entry as follows:
><Directory /home/*/public_html>
>   .
>   .
>   .
></Directory>

>and lo and behold, it worked (since all the user dirs are in /home
>anyway).  so, i don't need a fix for any problem; my question is: WHY? 

Looking things over, it's hard to tell if this is a bug in Apache, or if
it simply falls between the cracks in the documentation.  You seem to have
initially expected that * would span multiple levels of directories, so
that /usr/*/bin would match:

    /usr/local/bin
    /usr/local/something/bin
    /usr/X11R6/bin
    /usr/X11R6/lib/X11/mynuttyXapp/bin

They don't explicitly state that this is supported, but they certainly IMPLY
that this is possible!

It is more likely that wildcards apply to only one level in the directory 
structure at a time, so that's why what you "setteled for" works.

   /home/*/public_html  will match /home/bob/, /home/clark, and so on...


                                                               ---> RGB <---