You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Santhosh Raghunath <sr...@adteractive.com> on 2006/08/28 19:07:00 UTC

SVN root listing of repositories under browser

Greetings:

 

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.

 

Thanks

~Santhosh

 

Santhosh Raghunath

sraghunath@adteractive.com

 

 

 


RE: SVN root listing of repositories under browser

Posted by Santhosh Raghunath <sr...@adteractive.com>.
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


Re: SVN root listing of repositories under browser

Posted by Ryan Schmidt <su...@ryandesign.com>.
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