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

Re: Subversion: list of respositories

From: Andy Canfield <andy.canfield_at_pimco.mobi>
Date: Mon, 18 Jul 2011 15:53:36 +0700

On 07/18/2011 09:35 AM, Andy Levy wrote:
> Please Reply to All to keep discussion on the list.
>
> List convention is to bottom-post and quote inline. Please do not top-post.
>
> On Sun, Jul 17, 2011 at 22:29, Andy Canfield<andy.canfield_at_pimco.mobi> wrote:
>> If I set up http://example.com/svn to be a way to use apache to communicate
>> with the svn service on the example.com server then is pointing my browser
>> to "http://example.com/svn" supposed to give me some kind of web page?
>> Because I do not remember seeing anything about that in the book.
> You're looking for SVNParentPath.
> http://svnbook.red-bean.com/nightly/en/svn.serverconfig.httpd.html
My <locate /svn> entry in httpd.conf contains an SVNParentPath line. I
thought I sent that to you. Here (again) is the diff:
*... diff httpd.conf.good httpd.conf.subversion
127c127
< #LoadModule dav_module libexec/apache2/mod_dav.so

---
 > LoadModule dav_module libexec/apache2/mod_dav.so
154c154
< #LoadModule dav_svn_module libexec/apache2/mod_dav_svn.so
---
 > LoadModule dav_svn_module libexec/apache2/mod_dav_svn.so
1501a1502,1515
 >
 > # This spells out where the subversion repositories go
 > <Location /svn>
 >   DAV svn
 >   # any "/svn/foo" URL will map to a repository /var/svn/foo
 >   SVNParentPath /var/svn
 >   # how to authenticate a user
 >   AuthType Digest
 >   AuthName "Subversion repository"
 >   AuthDigestDomain /svn/
 >   AuthUserFile /etc/svn-auth-file
 >   # only authenticated users may access the repository
 >   Require valid-user
 > </Location>
*
>> On 07/17/2011 07:07 PM, Andy Levy wrote:
>>> On Sun, Jul 17, 2011 at 02:06, Andy Canfield<andy.canfield_at_pimco.mobi>
>>>   wrote:
>>>> How do you get a list of repositories from svnserver? The only way I can
>>>> figure out is:
>>>>      sshusername_at_example.com
>>>>      sudo bash
>>>>      ls -ld /var/svn/*
>>>> And, of course, this makes an assumption about where on the server the
>>>> repositories are located. There 'ought' to be an easier way.
>>> There is, but only if you serve via Apache.
>>>
Received on 2011-07-18 10:54:29 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.