On Tue, 2011-12-27 at 09:54 -0500, Eric Covener wrote: > Probably doesn't make much practical sense, since you can just use > directory match in 2.3/2.4 and no change to Files or Directory would > likely to ever be available in any older release.
Ah... now I've seen what you mean,... it now supports $ :D
So with 2.3/2.4/trunk I could just use:
<Direcotory /path/tovHost>
foo
bar
deny from all
</Directory>
#selectively allow subdirs
<Direcotory /path/tovHost/subDir>
allow from all
</Directory>
#allow only /path/tovHost/robots.txt
<DirecotoryMatch "^/path/tovHost$">
<Files robots.txt>
allow from all
</Files>
</DirectoryMatch>
And the files section would not be used on any subdirs of /path/tovHost,
right?
Is there a different whether I match
"^/path/tovHost$"
or
"^/path/tovHost/$"
Cheers,
Chris.
smime.p7s
Description: S/MIME cryptographic signature
