[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: about priviledge control and authz file's bug

From: Ryan Schmidt <subversion-2009a_at_ryandesign.com>
Date: Fri, 27 Feb 2009 17:50:09 -0600

On Feb 27, 2009, at 09:10, Bagnall, Martin wrote:

> Thanks - I found later that what I'd originally written also matched a
> directory structure rather than just the directory immediately
> under svn
> (or viewvc). This is the regular expression I ended up going with:
> RedirectMatch 301 /svn/([^/]*)\./ /svn/$1/
> RedirectMatch 301 /viewvc/([^/]*)\./ /viewvc/$1/

You probably want to anchor these matches to the beginning and end of
the string.

RedirectMatch 301 ^/svn/([^/]*)\./$ /svn/$1/
RedirectMatch 301 ^/viewvc/([^/]*)\./$ /viewvc/$1/


To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2009-02-28 00:51:07 CET

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.