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

Re: Software complexity (502 Bad Gateway)

From: Ben Collins-Sussman <sussman_at_red-bean.com>
Date: 2007-07-20 15:46:29 CEST

On 7/20/07, Freek Dijkstra <public@macfreek.nl> wrote:
> Ben Collins-Sussman wrote:
> > This problem is also described in chapter 6 of the online
> > svnbook.red-bean.com, in a big tan box:
> >
> > http://svnbook.red-bean.com/nightly/en/svn.serverconfig.httpd.html#svn.serverconfig.httpd.basic
>
> You mean the section "Server Names and the COPY Request"?
>
> Thanks for the pointer! I haven't read it, and I'm glad I didn't,
> because it would have pointed me in the wrong direction.
>
> The box discusses a different underlying problem which happens to
> surface with the same error message in subversion.
> (The problem described in chapter 6 causes a 502 Bad Gateway because of
> non-matching hostnames, while my problem was caused by non-matching
> protocols: https and http).

It's the same underlying problem; apache itself is comparing the
source and destination URLs for a COPY request, making sure they're
operating within the "same server". If the protocol schemas don't
match -- or if the hostnames don't match -- then apache think you're
trying to copy something between two different servers.

That said, maybe we should expand the explanation in the book to warn
about schemas as well as hostnames...

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Fri Jul 20 15:45:31 2007

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