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

Re: Repository List by SVNParentPath

From: Ryan Schmidt <subversion-2006Q1_at_ryandesign.com>
Date: 2006-02-28 00:54:26 CET

On Feb 25, 2006, at 06:14, coen wrote:

> <Location /svn>
> DAV svn
> SVNParentPath /var/svn/repos
> </Location>
>
>
> I can access to http://XXX/svn/test1 and
> http://XXX/svn/test2 in IE.
> But cannot do to http://XXX/svn .
>
> apache error_log below.
> [Sat Feb 25 14:08:48 2006] [error] [client 192.168.XXX]
> Could not fetch resource information. [403, #0]
> [Sat Feb 25 14:08:48 2006] [error] [client 192.168.XXX]
> (2)No such file or directory: The URI does not contain the
> name of a repository. [403, #19
> 0001]
>
>
> Why can I browse "repository list" in //XXX/svn ?
> (I use svn1.3.0)

First, you need to turn on the option which lists the repositories.
Add this to your Location directive:

SVNListParentPath On

Then, you need to have a trailing slash on the URL:

http://XXX/svn/

One post on the mailing list suggests adding the trailing slash to
the path in your Location directive, and some people replied to say
that worked:

http://svn.haxx.se/users/archive-2006-01/0272.shtml

Another solution, or maybe something you should do in addition, is to
add a rewrite rule:

http://svn.haxx.se/users/archive-2006-01/1222.shtml
http://svn.haxx.se/users/archive-2006-01/1224.shtml

This is not currently listed in the bug trackers, so I'm not sure
whether the Subversion team considers it a bug or a configuration error.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue Feb 28 00:55:49 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.