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.