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

Re: Repository web index

From: Ryan Schmidt <subversion-2008c_at_ryandesign.com>
Date: Fri, 26 Sep 2008 23:48:14 -0500

On Sep 26, 2008, at 20:10, Brian Mearns wrote:

> Sorry, Frank, I think I lost track of something. What file are you
> referring to? The SVNListParentPath only takes On and Off, not a file.
> I've got the SVNParentPath set up fine, as I am able to view my
> individual repositories, I just can't get the index of repositories
> set up.

There is an open bug on this:

http://subversion.tigris.org/issues/show_bug.cgi?id=2753

> I've found that if I take out all the authorization directives from
> from svn section, I can get the index I'm looking for: as you said,
> the AuthzSVN doesn't effect this, but I've told Apache that this
> location needs authentication, and it doesn't know how to do it for
> anything higher than a repo. I guess this might be getting outside the
> realm of subversion and into general apache config, but if anyone can
> help at all, I'd appreciate it. Ideally, I'd like to not have
> authentication for the top level /svn location (which should show the
> index of repositories) but still have the SVN auth for the individual
> repositories. Here's my conf file:
>
> <Location /svn>

The bug says a workaround is to change this to:

RedirectMatch ^(/svn)$ $1/
<Location /svn/>

(add a trailing slash to the Location directive, and add a redirect
for users who didn't type the trailing slash)

> DAV svn
> SVNParentPath /var/svn
> SVNListParentPath On
> SVNIndexXSLT /apps/svn/repos-web/view/repos.xsl.php
>
> # our access control policy
> AuthzSVNAccessFile /var/svn/conf/svn-users.conf
>
> # try anonymous access first, resort to real
> # authentication if necessary. Now out access control
> # policy file determines when you need to authenticate
> Satisfy Any
> Require valid-user
>
> # how to authenticate a user
> AuthType digest
> AuthName "Subversion repositories"
> AuthDigestProvider file
> AuthUserFile /var/svn/conf/digest_passwds
> AuthGroupFile /dev/null
> </Location>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: users-help_at_subversion.tigris.org
Received on 2008-09-27 06:48:35 CEST

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.