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

Possible Duplicate:
Subversion error: Repository moved permanently to please relocate

I cannot check out my SVN repository. I think I have my config file written correctly:

# <!-- Begin SVN Config -->
    <VirtualHost *:80>
        Alias svn /
        DocumentRoot /svn/
        <Location /svn>
            DAV svn
            SVNParentPath /svn/
            AuthType Basic
            AuthName "Sachem Softworks Projects"
            AuthUserFile /svn/.dav_svn.passwd
            Require valid-user
# <!-- /End SVN Config -->

Is there anything wrong with this config? The exact error I get when performing a checkout is:

svn: Repository moved permanently to ''; please relocate

I don't really understand what the problem is but if I try to browse the repository in a browser it works perfectly fine.

share|improve this question

marked as duplicate by quanta, John Gardeniers, voretaq7 Nov 16 '12 at 16:58

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

up vote 2 down vote accepted

What URL are you trying to use to check out?

You don't want that Alias directive, remove that; if you want to not use /svn/reponame as your path then change your <Location /svn> to just <Location />.

Move your DocumentRoot to point to some empty directory somewhere that's not going to fight with the SVN module's handler too, as discussed in the question that quanta linked, and that should cover it.

share|improve this answer

Not the answer you're looking for? Browse other questions tagged or ask your own question.