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

Re: apache2 subversion repository browsing

From: Adolf Schwarz <adolf.schwarz.news.03-06_at_gmx.at>
Date: 2006-03-25 00:03:58 CET

Hi Frederic,

Frederic Duarte wrote:

>
> That's a known bug, I've seen it somewhere but I dont really remember where.
> A partial workaround would be :
> Replace
> <Location /repos>
> by
> <Location /repos/>
> and access via
> http://www.myserver.at/repos/
> instead of
> http://www.myserver.at/repos
> That works.

Thanks, now it somehow works, but I still have permission problems.

I have to add
[/]
@<everyone>=r

to the access policies part of the configuration. But then everyone
would have read access to all repositories, unless I explicitly exclude
him from every repository he should not have access to. Is it possible
to make the SVNListParentPath accessible to everyone without giving
everyone access to all repositories?

Thanks,
-adi

PS: My configuration files:

--- svn-access-file ---

[general]

[groups]
teamone = <members>
teamtwo = <members>

#[/] #(I would need this to make SVNListParentPath work)
#@teamone = r
#@teamtwo = r

[repos1:/]
@teamone = rw

[repos2:/]
@teamtwo = rw

--- ssl.conf (snipplet) ---

<Location /repos/>
   DAV svn
   SVNParentPath C:\repos
   SVNListParentPath On
   SVNIndexXSLT "/static/svnindex.xsl"

   AuthzSVNAccessFile C:\Apache2\conf\svn-access-file

   Require valid-user

   AuthType Basic
   AuthName "Repository Area"
   AuthUserFile C:\Apache2\conf\svn-auth-file
</Location>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Sat Mar 25 00:05:25 2006

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