Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

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 /
        ServerName svn.sachemsoftworks.com
        DocumentRoot /svn/
        ServerAdmin webmaster@sachemsoftworks.com
        <Location /svn>
            DAV svn
            SVNParentPath /svn/
            AuthType Basic
            AuthName "Sachem Softworks Projects"
            AuthUserFile /svn/.dav_svn.passwd
            Require valid-user
        </Location>
    </VirtualHost>
# <!-- /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 'http://svn.sachemsoftworks.com/blackoutMgr/'; 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.

1 Answer 1

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.