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

301 with mod_dav / https

From: fuzzy_4711 <fuzzy_4711_at_gmx.de>
Date: Wed, 12 Jan 2011 12:47:16 +0100

Hi,
it has been frustrating for me trying to set up my public available web
server to serve a svn repository also. I do not understand at all, what
happens, please help.

I am able to navigate with FF to https://devel.example.com/svn/test/
and see the "powered by Subversion version 1.6.6 (r40053)"

When I try to svn import . https://devel.example.com/svn/test/ -m
"initial structure" --username=valid
I am asked for my password and I get access. The response I get is:
"svn: Das Projektarchiv wurde permanent nach
"https://devel.example.com/svn/test/%c2« verschoben; bitte umplatzieren"
which means something like "The project archive has been permanently
moved to .... please relocate". My apache log shows this:
x.x.x.x - valid [12/Jan/2011:12:32:52 +0100] "OPTIONS /svn/test
HTTP/1.1" 301 484 "-" "SVN/1.6.9 (r901367) neon/0.28.4".

I have read about the 301 error in the FAQ. I think the reason mentioned
there is not my problem. My box runs on Ubuntu 10.04 LTS.

This is my Virtual Host setup:

<VirtualHost x.x.x.x:443>
        ServerName devel.example.com
        ServerAdmin webmaster_at_example.com
        DocumentRoot /var/www/devel.example.com

        SSLEngine on
        SSLCertificateFile /etc/ssl/example.com.key

        <Location />
                Order deny,allow
                Deny from all
        </Location>

        Alias /pm "/var/www/devel.example.com/mypmtool"
        <Directory "/var/www/devel.example.com/mypmtool">

                AllowOverride All

                <Files ~ "^\.pw">
                        Order allow,deny
                        Deny from all
                        Satisfy all
                </Files>
                Options -Indexes
                Order deny,allow
                Deny from all
                satisfy any
                AuthType digest
                AuthUserFile /var/www/devel.example.com/.pwdigest_pm
                AuthName "Project_X"
                require valid-user
        </Directory>

        Alias /svn "/home/svn"
        <Directory /home/svn>
                AllowOverride all
        </Directory>

        <Location /svn>
                DAV svn
                SVNParentPath /home/svn
                SVNListParentPath on
                AuthzSVNAccessFile /etc/apache2/dav_svn.authz
                Order deny,allow
                deny from all
                satisfy any
                AuthType Digest
                AuthUserFile /etc/apache2/pwdigest_svn
                AuthName "Project_X"
                Require valid-user
        </Location>
</VirtualHost>

Any help apreciated.
Thanks
-fuz
Received on 2011-01-12 13:02:58 CET

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.