On Fri, 4 Apr 2014 10:09:48 -0400
"D'Arcy J.M. Cain" <da...@vex.net> wrote:
> <Directory ~ "^\.svn">
>     Require all denied
> </Directory>
> 
> This doesn't work.  I believe that this is because I have other
> Directory directives that override it.  Would the above work if
> changed Directory to a Location directive?  My impression from
> reading the docs is that Location is always rooted to the top level.
> Will it DTRT if I leave off the leading slash?

Pardon me for answering my own question but perhaps it will help the
next person doing a search with this issue.  Here is what worked for me:

RedirectMatch 404 /\.svn(/|$)

-- 
D'Arcy J.M. Cain
System Administrator, Vex.Net
http://www.Vex.Net/ IM:da...@vex.net
VoIP: sip:da...@vex.net

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
For additional commands, e-mail: users-h...@httpd.apache.org

Reply via email to