[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: Ryan Schmidt <subversion-2006c_at_ryandesign.com>
Date: 2006-08-28 22:12:53 CEST

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 Mon Aug 28 22:15:46 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.