Problem configuring SVN to work over HTTP
I'm setting up SVN on a CentOS release 5.2 server and I've got it running but can't connect to the repository over http yet.
I setup webdav in /etc/httpd/conf/extra/httpd-dav.conf like this:
Alias /svnrepos "/svn/repository"
AuthName "WebDAV Server"
Allow from all
I imported some files and if I list the files using "svn list file:///svn/repository/" I can see the imported files so this all seems to work as it should.
The problem: If I use "svn list http://<servername>/svnrepos/" (and enter the username and password) I get the following error:
svn: Repository moved permanently to 'http://<servername>/svnrepos/'; please relocate
If I would use "svn list http://<servername>/svnrepos/<projectname>" it gives the error:
svn: The OPTIONS response did not include the requested activity-collection-set; this often means that the URL is not WebDAV-enabled
Does this mean there's a redirect on the server somewhere or is this a mistake I made in the WebDav config?
I think the option should be "DAV svn" and you need an SVNPath or a SVNParentPath. Here's my configuration:
I found out the problem is related to the DirectAdmin installation on the machine: Appearently DirectAdmin is compiled with an older version of Apache without the mod_dav_svn module and now I can't just install the module because of this. Solution should be to recompile the installation but since it needs to be done on a production server I'll hire someone with more knowledge about this kind of stuff..
|All times are GMT -5. The time now is 11:37 PM.|