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

COPY fails: 502 Bad Gateway (over https / SSL)

From: Brett Shelton <Brett.Shelton_at_toro.com>
Date: 2005-11-22 15:31:52 CET

The Problem I am having is that when performing a copy on subversion
over SSL, Apache returns a 502 Bad Gateway. It appears to be a bug that
could be fixed in dav_svn.

 

I know others have had this problem in the past, but I have not seen a
resolution within the dav_svn module. I hope we can resolve the problem
so that users do not need to use a custom Perl or Ruby script... or hack
dav_svn.

 

 

Ivo posted an explaination of the problem at
http://svn.haxx.se/dev/archive-2004-08/0286.shtml.

 

Jeff Snyder mentions a couple solutions, one of which is hacking
dav_svn, which I don't want to get into (see
http://blog.caffeinated.me.uk/?p=5 ).

 

Seth Daniel posted a mod_perl2 solution at
http://subversion.tigris.org/servlets/ReadMsg?listName=dev&msgNo=96866.

 

** Is this problem ready to be submitted in the Subversion Issue
Tracker? **

 

 

I am currently using apache_2.0.55 with openssl. To recreate the
problem, access the server via https and attempt a COPY or MOVE.

 

Below is the relevant section from httpd.conf:

 

<VirtualHost *:443>

    ServerName svn1.mydomain.com

    ServerAlias svn.mydomain.com

    

    ServerAdmin webmaster@svn1.mydomain.com.com

    DocumentRoot "C:/Program Files/Apache Group/Apache2/htdocs/svn"

    

    ErrorLog logs/svn1.mydomain.com-error_log

    CustomLog logs/svn1.mydomain.com-access_log common

 

    

      <Location /svn>

            DAV svn

            SVNParentPath "C:/svn-repos"

            SSLRequireSSL

            AuthType Basic

            AuthName "Subversion repositories. For readonly access to
most projects, you may use user: guest (password:

 

guest)"

            AuthUserFile passwd

            AuthzSVNAccessFile svnaccessfile

            Require valid-user

      </Location>

      

</VirtualHost>

 

<VirtualHost *:80>

    ServerName svn1.mydomain.com

    ServerAlias svn.mydomain.com

    

    Redirect / https://svn.mydomain.com/

    

    ServerAdmin webmaster@dummy-host.example.com

    DocumentRoot "C:/Program Files/Apache Group/Apache2/htdocs/svn"

 

    ErrorLog logs/svn.mydomain.com-error_log

    CustomLog logs/svn.mydomain.com-access_log common

</VirtualHost>

 

 

Best regards,

Brett
Received on Tue Nov 22 19:25:47 2005

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.