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


From: Robert Saenger <Robert.Saenger_at_iitb.fraunhofer.de>
Date: 2006-10-24 13:58:27 CEST

> -----Ursprüngliche Nachricht-----
> Von: Frank Gruman [mailto:fgatwork@verizon.net]
> Gesendet: Montag, 23. Oktober 2006 18:17
> An: Robert Saenger
> Cc: users@subversion.tigris.org
> Betreff:
> Robert Saenger wrote:
> > Thanks. However, introducing the index file hasn't helped.
> > Well, the listings below a specific repository are now beautified.
> > But the problem remains that the set of available repositories below
> > SVNParentPath isn't listed.
> >
> <snip>
> >> Well - this could be easier - you may need to define the index file.
> Here
> >> is my working <Location> directive. Make sure the path you give to the
> >> svinindex.xsl file is relative to the server document root. I use LDAP
> >> auth for a couple of different apps I host on this server, so just make
> >> one LDAP reference. Then I only needed to type it all in once.
> >>
> >>
> >> <Location /code/>
> >> DAV svn
> >> SVNParentPath /code_repos
> >> SVNIndexXSLT /svnindex.xsl
> >> SVNListParentPath on
> >> AuthName "Code Repository"
> >> Include /code_repos/ldap_auth
> >> AuthzSVNAccessFile /code_repos/access.list
> >> satisfy all
> >> require valid-user
> >>
> >> </Location>
> </snip>
> Hmm - pretty is always nice. It's still a problem, but doesn't it make
> you feel better? :-)
> Perhaps you can send your access file? Also - any notes in either the
> access or error logs? Please take heart in knowing that it does work. We
> just need to get to the bottom of what is wrong in your situation.

Strict but good advice and in fact I'd made a mistake.
The problem was that my AuthzSVNAccessFile accidently
Got overwritten of SVNManager who keeps an internal representation
of the file and overwrites it on any changes. So the

@admin = r

got lost.

After I (re-)introduced this access permissions it worked fine.
Thus the initial problem of my configuration was really
the lacking trailing slash of my location configuration, i.e.

<Location /svn/>


<Location /svn>.

Which has been noticed by Brad Bruce. Thanks Brad.
My working location configuration now looks as follows:

<Location /svn/>
DAV svn
SVNParentPath D:/repos/svn
SVNIndexXSLT /svnindex.xsl
SVNListParentPath on
AuthType Basic
AuthName "Subversion Projectarchives"
AuthUserFile D:/repos/svn/passwd
AuthzSVNAccessFile D:/repos/svn/svnaccessfile
#satisfy all
Require valid-user

Finally, the SVNIndexXSLT could be opt out again. It is not required
To make things working. However without it is not looking that pretty.

Best regards

To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue Oct 24 14:38:37 2006

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.