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

Re: Http to repository lists folder content : conf db hooks locks

From: Ryan Schmidt <subversion-2009b_at_ryandesign.com>
Date: Sun, 15 Nov 2009 17:34:32 -0600

On Nov 15, 2009, at 15:00, Kurt Pruenner wrote:

> Tudor Spinache wrote:
>> <Location /svn/pro1>
>> DAV svn
>> SVNParentPath "/var/svn/pro1"
>> SVNListParentPath On
>> </Location>
>>
>> If I go to http://my.server.com/svn/pro1 I see "Collection of
>> Repositories" with the four folders : "conf db hooks and locks"
>> underneath. If I want to go to any of them I get "errcode="2"> Could not
>> open the requested SVN filesystem"
>
> I'm pretty sure you're looking for SVNPath instead of SVNParentPath up
> there - SVNParentPath is for specifying a folder that contains several
> other repository folders, while you're pointing at the repository folder
> directly...

Yes, this is the correct answer. If you want to serve multiple repositories, use:

<Location /svn/>
DAV svn
SVNParentPath "/var/svn"
SVNListParentPath On
</Location>

If you want to serve this single repository, use:

<Location /svn/pro1>
DAV svn
SVNPath "/var/svn/pro1"
</Location>

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=2418272

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2009-11-16 00:35:40 CET

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.