# HG changeset patch # User Marcin Kuzminski # Date 2016-11-11 19:06:48 # Node ID 3aef7260794f35059f6a06b0249d0f6c478710ee # Parent ebe0247cd154889e46e1b1638efa15728fc577d0 Added request header downgrade for COPY command to work on https setup. Fixes #4307 diff --git a/docs/admin/vcs-server.rst b/docs/admin/vcs-server.rst --- a/docs/admin/vcs-server.rst +++ b/docs/admin/vcs-server.rst @@ -327,6 +327,8 @@ Once installed you need to enable ``dav_ .. code-block:: bash $ sudo a2enmod dav_svn + $ sudo a2enmod headers + Configuring Apache Setup ======================== diff --git a/rhodecode/svn_support/templates/mod-dav-svn.conf.mako b/rhodecode/svn_support/templates/mod-dav-svn.conf.mako --- a/rhodecode/svn_support/templates/mod-dav-svn.conf.mako +++ b/rhodecode/svn_support/templates/mod-dav-svn.conf.mako @@ -36,6 +36,9 @@ # After changing this a stop and start of Apache is required (using restart # doesn't work). +# fix https -> http downgrade with DAV. It requires an header downgrade for +# https -> http reverse proxy to work properly +RequestHeader edit Destination ^https: http: early # The mod_dav_svn module takes the username from the apache request object.