You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@subversion.apache.org by Ben Collins-Sussman <su...@collab.net> on 2001/11/01 18:52:11 UTC

copy confusion

Okay, so I'm now testing with the latest httpd-2.0 (as of today).

ra_dav sends a COPY request with these arguments:

src = /testing/sussman/$svn/bc/3//fundir/foo
dst = /testing/sussman/$svn/wrk/9e40510d-d21d-b211-a549-eb77c19b454b/fundir/foo2

And mod_dav doesn't choke with a type 1 error (as it did on
svn.collab.net);  instead, I get this:

------------------
COPY /testing/sussman/$svn/bc/3//fundir/foo HTTP/1.1
User-Agent: SVN/M5 neon/0.17.2
Connection: TE
TE: trailers
Depth: 0
Destination: http://newton.ch.collab.net/testing/sussman/$svn/wrk/9e40510d-d21d-b211-a549-eb77c19b454b/fundir/foo2
Overwrite: T
Host: newton.ch.collab.net

HTTP/1.1 502 Bad Gateway
Date: Thu, 01 Nov 2001 18:21:19 GMT
Server: Apache/2.0.28-dev (Unix) SVN/M5 DAV/2
Content-Length: 281
Content-Type: text/html; charset=ISO-8859-1

<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>502 Bad Gateway</title>
</head><body>
<h1>Bad Gateway</h1>
<p>Destination URI refers to a different server.</p>
<hr />
<address>Apache/2.0.28-dev Server at newton.ch.collab.net Port 80</address>
</body></html>
---------------------

It seems that neon prepended an "schema://host" to my destination
url.  But really, I don't understand the 502 response code.  The
destination header refers to "newton.ch.collab.net", and indeed,
that's *exactly* the hostname that apache is using to identify itself
at the bottom of the response!

(At this point, I'm just trying to see if the code-flow ever reaches
the empty function repos.c:dav_svn_copy_resource().  If it does, I'm
mostly done.  But it never gets that far.)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org