Hi Richard,
I tried the DirectoryMatch already: still does not work
Do you think the problem is related to Windows?
My folder structure looks like this:
..... htdocs
Web
Web_A/released
Web_A/working
Web_B/released
Web_B/working
So I want to secure only the working directories.
<DirectoryMatch "/Web/*/working/">
Options FollowSymLinks
AllowOverride None
Deny from all
allow from x.x.x.x
AuthName "Modeller access required"
AuthType Basic
AuthUserFile "C:/Programme/Apache Group/Apache2/users/.users"
AuthGroupFile "C:/Programme/Apache Group/Apache2/users/groups"
require group modeller
require valid-user
Satisfy any
</DirectoryMatch>
The following works fine, but I would need to apply this to every directory
;-(
<Directory "C:/Programme/Apache Group/Apache2/htdocs/Web/Web_A/working/">
......
Best regards,
Dirk
"Richard Antony Burton" <richardaburton-NOSPAM-.RemoveThis@hotmail.com> schrieb im
Newsbeitrag news:SKB9c.931533$iA2.116921@news.easynews.com...
>
> "Dirk Uebber" <dirk.uebber.RemoveThis@t-online.de> wrote in message
> news:4066d47f$0$26190$9b622d9e@news.freenet.de...
> > How can I secure all directories containing "working" in their path?
> >
> > I tried the following but did not work:
> > <directory /docroot/*/working>
>
> Try using DirectoryMatch:
<font color=purple> > <a style='text-decoration: underline;' href="http://httpd.apache.org/docs-2.1/mod/core.html#directorymatch</font" target="_blank">http://httpd.apache.org/docs-2.1/mod/core.html#directorymatch</font</a>>
>
> Richard.
>
><!-- ~MESSAGE_AFTER~ -->
>> Stay informed about: Wildcard