Вопрос

Hoping somebody can shed some guru-knowledge here as we've been racking our brains trying to figure out what is causing this error.

We're running WHM/CPanel on CENTOS 5.8

We have a sub-domain specifically set up to server as an svn repository. We've created the VirtualHost directory and config file. The config file looks like the following:

<IfModule mod_dav_svn.c>
 <Location />
  DAV svn
  SVNParentPath /home/<username>/public_html/svn
  SVNListParentPath On
  AuthType Basic
  AuthName "SVN Repo"
  AuthUserFile /home/<username>/.svn.htpasswd
  Require valid-user
 </Location>
</IfModule>

We're using SVNParentPath because we will have multiple repositories.

Our repo's are created using svnadmin create

They show up fine when we navigate to them in a browser. We can see the top level folders. When we click into them all we see is the revision number. I'm pretty sure this is normal.

In Tortoise we connect to the repo like: http://svn.ourserver.com/reponame

We've been through any and every forum post we can think of and just cannot get passed the redirect cycle. Any knowledge will be greatly appreciated.

edit I should add that we are getting the authentication windows so I believe that that part is setup correctly.

Это было полезно?

Решение

As it turns out I think this was more of a misunderstanding of how svn is setup and how tortoiseSVN needs to access it. Tortoise can't check out multiple projects (which we knew.) What we overlooked is that creating a repository, isn't the same as creating a project.

Once we converted the svn.mydomain.com to be a repo itself, created a project within that, we were able to check it out without error.

I want to thank everyone that tried to help. I really appreciate your time.

Другие советы

  • Repo location in site-root may have big bad impact later (if you'll have not-dav parts of site under ROOT)
  • SVNParentPath /home/<username>/public_html/svn/ (trailing slash) will be better, can't recall why
Лицензировано под: CC-BY-SA с атрибуция
Не связан с StackOverflow
scroll top