subversion giving crazy errors when using web dav with apache 2
Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
subversion giving crazy errors when using web dav with apache 2
Hi,
I am trying to make a subversion system on my linux box using web dav and apache2.
I currently have a subdomain of my website for this purpose.
I have the virtual host file to what I think it should be, but when I go to the url I get this:
Code:
*
<?xml version="1.0" encoding="utf-8" ?>
-
<D:error xmlns:D="DAV:" xmlns:m="http://apache.org/dav/xmlns" xmlns:C="svn:">*
<C:error /> *
<m:human-readable errcode="2">Could not open the requested SVN filesystem</m:human-readable> *
</D:error>
Also, if there is a way to use a password for commit, but not for checkout, it would be nice if you could outline how to do that here.
Thanks,
-Michael.
Well, It didn't seem to do anything.
By the way, my /svn path is actually going to be a parent path, for example: http://svn.myserver.com/test would be one repository, http://svn.myserver.com/programs would be another.
Anyway, still gives the same error.
I will say that I created a /svn/test repository, but it gives the same error with that one when I go to svn.myserver.com/test
I am thinking that I have to install something for svn, but I'm not sure what that would be.
That is, something to interface between web dav and svn.
It was mentioned in the svn documentation I think.
Thanks,
-Michael.
I saw that you do not have any DocumentRoot directive inside your VirtualHost but as apache is giving back errors this does not seem to be that bad?
Quote:
Prerequisites
To network your repository over HTTP, you basically need four components, available in two packages. You'll need Apache httpd 2.0, the mod_dav DAV module that comes with it, Subversion, and the mod_dav_svn filesystem provider module distributed with Subversion. Once you have all of those components, the process of networking your repository is as simple as:
getting httpd 2.0 up and running with the mod_dav module,
installing the mod_dav_svn plugin to mod_dav, which uses Subversion's libraries to access the repository, and
configuring your httpd.conf file to export (or expose) the repository.
Taken from the svn doc under the link I provided in my previous post.
Ok.
Now when I create a repository, /websites/<myserver>/svn, then go to http://svn.myserver.com/, it shows the /svn repository.
Then, when I remove that svn repository, and instead create one called /svn/test, it fails both when going to http://svn.myserver.com/ and http://svn.myserver.com/test.
This is what I want:
I need it to (1) not show an error when going to the root of svn.myserver.com (if possible), and (2) work with /test and others, even when there is no root svn repository.
Any help is appreciated.
-Michael.
Anyone got any ideas why creating a central svn repos works, but then creating svn/test and going to svn.myserver.com/test doesn't work?
And, is there any other good system I can use to do this instead of web dav?
Thanks,
-Michael.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.