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

RE: SVN root listing of repositories under browser

From: Santhosh Raghunath <sraghunath_at_adteractive.com>
Date: 2006-08-29 00:15:49 CEST

Thanks for your response.

Yes, we do have repository level authorization in place for security. I
was wondering if there were any other issues for granting Parent level
access to the repository list.

The only hurdle now is the version - we are still using Subversion
version 1.2.1

Thanks anyways.
~Santhosh

-----Original Message-----
From: Ryan Schmidt [mailto:subversion-2006c@ryandesign.com]
Sent: Monday, August 28, 2006 1:13 PM
To: Santhosh Raghunath
Cc: users@subversion.tigris.org
Subject: Re: SVN root listing of repositories under browser

On Aug 28, 2006, at 21:07, Santhosh Raghunath wrote:

> I have been receiving many requests on how to see a list of
> repositories under the SVN server. Is there a way to list them -
> may be it is a configuration under Apache setup to be enabled?
>
>
> Also I would like to know if enabling it for view is a safe practice.

Assuming you have multiple repositories served with SVNParentPath:

<VirtualHost *:80>
        ServerName www.example.com
        DocumentRoot /path/to/docroot
        <Location /svn>
                DAV svn
                SVNParentPath /path/to/repositories
        </Location>
</VirtualHost>

You simply add "SVNListParentPath on":

<VirtualHost *:80>
        ServerName www.example.com
        DocumentRoot /path/to/docroot
        <Location /svn>
                DAV svn
                SVNParentPath /path/to/repositories
                SVNListParentPath on
        </Location>
</VirtualHost>

You need at least Subversion 1.3.0 for this to work.

As for security, if you're relying on your repositories being secure
by virtue of nobody knowing what they're called, then that's not very
secure to begin with. Assuming you have your repositories set up to
allow access to only authorizet people, then there should be no
problem listing the names of the repositories.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue Aug 29 00:15:36 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.