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

https login, http for files

From: Gustavo Rahal <gustavo_at_grahal.net>
Date: 2006-09-04 17:03:38 CEST

Hi All

I would like to know how can I set up apache so that the svn login process
is done via https and file exchange via http.

What I did up to now is:

<Location /svn>
    DAV svn
    SVNParentPath /svnroot
    SVNAutoversioning on
    SVNIndexXSLT /svnindex.xsl

    <LimitExcept GET PROPFIND OPTIONS REPORT>
      RewriteEngine on
      RewriteCond %{SERVER_PORT} ^80$
      RewriteRule ^/(.*)$ https://%{SERVER_NAME}%{REQUEST_URI} [R=permanent]
    </LimitExcept>

  </Location>

The redirect works fine (sniffing the http header I could see the correct
url)
but I still get "301 Moved Permanently" error. The other problem is that
despite the LimitExcept, the PROPFIND request is being redirected to https.

Am I going through the wrong direction? What are the other possibilities?

Thanks
Received on Mon Sep 4 17:05:04 2006

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