I have SSH access to a server on which I am trying to create a repository. I don't know if apache is set up correctly for this, but the server does have svn, and it does mod-dav-svn
. Anyways, I ssh into the server:
-bash-3.00$ mkdir httpdocs/svn
-bash-3.00$ svnadmin create httpdocs/svn
I check that the repo was created successfully (it was), and then using tortoise svn, do a checkout from http://server.com/svn/.
The error returned was Repository moved permanently to 'http://server.com/svn/'; please relocate
.
What could that indicate?
Note that I don't have root access to the server, and the sysadmin has gone to bed for the night. At this point, what steps need to be taken to get a repo up and running? A virtual host setting in apache? What about a .htaccess? Anything?
update
I'm not sure if this will still get looked at now, but: The sysadmin added this to the conf file for my vhost,
<Location /svn>
DAV svn
SVNParentPath /var/www/vhosts/domain/svn
AuthType Digest
AuthName "Subversion Repository"
AuthUserFile /etc/myauthfile
Require valid-user
</Location>
the /etc/myauthfile
was set up accordingly with the users for it. I made sure to set up the repository outside of my httpdocs and httpsdocs directory as to not conflict with any other namespaces -- I went to /svn in my home directory and created a repository. I tried to check it out from my computer, and--
svn: OPTIONS of 'http://domain/svn': 200 OK (http://domain)
This is confusing... Trying to access it via the browser yields a 404.
Is there something else I'm missing?