[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: Tue, 24 Feb 2009 13:02:43 +0000

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&dsMessageId=1220607

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2009-02-24 17:30:54 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.