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

Re: 301 with mod_dav / https

From: Jehan PROCACCIA <Jehan.Procaccia_at_it-sudparis.eu>
Date: Wed, 12 Jan 2011 14:55:17 +0100

sorry no help, but the same problem,

I can browse with firefox my repository , but on the command line I get:
svn import . --username disi "http://svn.it-sudparis.eu/disi/disi_pj1/"
-m "initial"
svn: Repository moved permanently to
'http://svn.it-sudparis.eu/disi/disi_pj1/'; please relocate

Apache access_logs says:
"OPTIONS /disi/disi_pj1 HTTP/1.1" 301 341 "-" "SVN/1.6.13 (r1002816)
neon/0.29.3"

the problem is mentioned here
http://svnbook.red-bean.com/en/1.1/svn-book.html#svn-ap-b-sect-1.2.15
But I don't think I am in the situation where my svn DAV location
overlaps DocumentRoot !
any help also greatly appreciated .

Le 12/01/2011 12:47, fuzzy_4711 a écrit :
> 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 14:56: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.