Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

My vhost config:

<VirtualHost *:443>

    DocumentRoot /var/www/

    <Location /svn>

            DAV svn
            SVNListParentPath on
            SVNParentPath /opt/svn


    SSLEngine on
    SSLCertificateFile    /etc/apache2/ssl/server.pem
    SSLCertificateKeyFile /etc/apache2/ssl/server.key

I've created repos with command:

svnadmin create /opt/svn/reponame

When I'm pointing my browser to it shows all my project and files, its OK.

Error when checkouting:

$ svn checkout ./
svn: Repository moved temporarily to ''; please relocate
$ svn checkout ./
svn: Repository moved temporarily to ''; please relocate

$ tail -2 /var/log/apache2/other_vhosts_access.log - - "OPTIONS /svn HTTP/1.1" 302 274 "-" "SVN/1.6.6 (r40053) neon/0.29.0" - - "OPTIONS /svn/projectname HTTP/1.1" 302 277 "-" "SVN/1.6.6 (r40053) neon/0.29.0"

There is no config options in /etc/apache2/mods_enabled/dav_svn.conf, there is no other VirtualHosts in Apache2.

I've spent about 10 hours be there is no result :( I've tried creating new repos, setting Error 404 default, same shit!

share|improve this question
do you have a .htaccess in your document root or any global rewrite or redirect rules in your apache config? – Marcel G Oct 31 '10 at 9:44

How about svn checkout ?

The first error you get is normal - Since you are using the SVNListParentPath directive, accessing the /svn URI will give you a list of repositories that you can browse. However, you need to provide a URL to an actual repository to checkout.

The second error is weird - it should just do the right thing, but strictly speaking the URL should end with a /.

What version of apache and subversion are you using ?

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.