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

Re: svn doesn't follow HTTP 301

From: Garret Wilson <garret_at_globalmentor.com>
Date: 2003-01-31 23:35:53 CET

...so how do I add this to the bug report?

Garret Wilson wrote:
> Ah, here's the thing: I was specifying a DocumentRoot for the particular
> VirtualHost in question in Apache. Removing that and my checkouts work
> fine.
>
> Garret
>
> Garret Wilson wrote:
>
>> 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
>> </Location>
>>
>> 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
>>
>> PROPFIND /java HTTP/1.1
>>
>> (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:
>>
>> PROPFIND / HTTP/1.1
>>
>> (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?
>>
>> Garret
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
>> For additional commands, e-mail: dev-help@subversion.tigris.org
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
> For additional commands, e-mail: dev-help@subversion.tigris.org

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Fri Jan 31 23:40:42 2003

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.