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

Re: Problems with svn copy and svn move and an httpS server

From: Jani Averbach <jaa_at_jaa.iki.fi>
Date: 2004-05-12 00:30:17 CEST

On 2004-05-12 00:08+0200, Nuno Araujo wrote:
> Hello.
> I installed subversion in my machine and configured it in apache, within
> an virtual host:
> <VirtualHost *:443>
> ServerName svn.<domain>.com
> ServerAlias svn.<domain>.com:443
> </Location>
> </VirtualHost>
> </IfDefine>
> With this configuration, i can do checkouts and commits with no problem
> at all...
> But if i do an svn cp <folder1> <folder2> or an svn mv
> when i do the svn commit, the following error appears:
> Adding nope/branches/test
> svn: Commit failed (details follow):
> svn: COPY of test: 502 Bad Gateway (https://svn.<domain>.com)
> If i reconfigure my server to use http and not https this works without
> any problem...

The big picture is following:

1) You can't use https + virtual host, see apache documentation [1]
   (if you don't have separete IP for it)

2) (This might be somehow wrong), when you are doing merge, move or
   copy you are using WebDAV commands, which need that both resources
   are in the same namespace. [2] Now because virtual domains don't work,
   they aren't, and this is the reason why you are getting 'bad
   gateway' error.

This is REALLY IIRC, so I hope someone will correct me if this is
complete off-track. I have been bitten by the same kind of problems
with proxies and subversion.

BR, Jani

1) http://httpd.apache.org/docs-2.0/vhosts/name-based.html

2) Try search webdav-mailing list... found this somewhere there, some
   time ago, but couldn't find it again.

Jani Averbach
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed May 12 00:30:47 2004

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.