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

svn doesn't follow HTTP 301

From: <garret_at_globalmentor.com>
Date: 2003-01-27 16:29:41 CET

This is issue 1116 (
http://subversion.tigris.org/issues/show_bug.cgi?id=1116 ), which I
should have posted here first.

Although I can serve a single repository from the root of a domain, I
can't seem to be able to server multiple repositories in separate
directories because of 1) the way svn communicates to the server, and
2) the way svn simply stops on any error.

I have a repository at /usr/local/svn/java on Linux. I have Apache
configured something like this:

   Location /
     Dav svn
     SVNParentPath /usr/local/svn

Then from Win2000 I do this:

svn co http://svn.example.com/java/ java

1) The first thing that is sent from svn to the server is


(Shouldn't this be /java/ ?)

2) Apache sends back 301 Moved Permanently specifying
http://svn.example.com/java/ as the correct location.

3) svn then sends to the server:


(Shouldn't this likewise be /java/ ?)

4) As the root of svn.example.com isn't a repository and is not setup
for PROPFIND to work, Apache sends back 403 Forbidden.

5) svn displays:
svn: RA layer request failed
svn: PROPFIND of /: 403 Forbidden

Any ideas?


To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sat Oct 14 02:19:34 2006

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.