[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: Bagnall, Martin <Martin.Bagnall_at_hmhpub.com>
Date: Fri, 27 Feb 2009 15:10:11 +0000

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/

Regards,
Martin

-----Original Message-----
From: Buddy wu [mailto:ejournal4me_at_gmail.com]
Sent: 27 February 2009 08:17
To: Bagnall, Martin
Cc: users_at_subversion.tigris.org
Subject: Re: about priviledge control and authz file's bug

but It should be corrected as follows
RedirectMatch 301 /svn/(.*)\.$ /svn/$1
RedirectMatch 301 /viewvc/(.*)\.$ /viewvc/$1

2009/2/24 Bagnall, Martin <Martin.Bagnall_at_hmhpub.com>:
> I had this problem too but I couldn't find any info on whether this
was
> a bug or expected behaviour.
>
> In any case, I ended up working around the issue as follows...
> Enable (uncomment) mod_rewrite.so in httpd.conf:
> LoadModule rewrite_module modules/mod_rewrite.so
>
> Add the following redirect statements:
> RedirectMatch 301 /svn/(.*)\. /svn/$1
> RedirectMatch 301 /viewvc/(.*)\. /viewvc/$1
>
> Hope this helps.
>
> Martin
>
>
> -----Original Message-----
> From: Buddy wu [mailto:ejournal4me_at_gmail.com]
> Sent: 23 February 2009 03:54
> To: users_at_subversion.tigris.org
> Subject: about priviledge control and authz file's bug
>
> I dont know if this is a bug of svn's privilege control.
> I use subversion and apache to public the svn. and in the authz file
> to define the priviledge, and use multi repo .the authz file like
> this:
> [/]
> *=r
> [a:/]
> *=
> [b:/]
> *=rw
> ------------------
> I want to let everyone can browse http://localhost/svn/
> but everyone can't browse repo http://localhost/svn/a
>
> yes, everyone can't browse repo use url "http://localhost/svn/a" but
> they can use URL "http://localhost/svn/a." to browse the repo a. NOTE
> that the sencond url can access repo a, it is ended with a dot "."
> is this a svn bug?
>
> ------------------------------------------------------
>
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageI
> d=1212443
>
> To unsubscribe from this discussion, e-mail:
> [users-unsubscribe_at_subversion.tigris.org].
>

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageI
d=1237441

To unsubscribe from this discussion, e-mail:
[users-unsubscribe_at_subversion.tigris.org].

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=1239325

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2009-02-27 16:13:33 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.