David Fletcher | 23 Sep 2005 12:35

New user - having problems

I've been using the subversion client to operate a repository on a local HDD 
for a few weeks now.

What I now want to do is use repositories over a network using Apache 2.

I have Apache running with Fedora Core 3 of my old PC which I call fiddle 
because that's what I keep it for. If I use this machine to browse 
http://fiddle/ I get the index.html page I copied onto it.

I've also done
yum install subversion
and
yum install mod_dav_svn

Next created the path /usr/local/svnrepos/fstest/MOD/softwareV2
used svnadmin create to make a new repository in softwareV2
then svnadmin load to get a dump file into the repository.

I've done chown -R apache:apache /usr/local/svnrepos

Next, I've added to httpd.conf
#LoadModule dav_module modules/mod_dav.so
#LoadModule dav_fs_module modules/mod_dav_fs.so
LoadModule dav_svn_module modules/mod_dav_svn.so
I've commented out the first two because I get a warning that they are already 
loaded.

Later on,
<Location /fstsswV2>
    Dav svn
    Dav On
    SVNPath /usr/local/svnrepos/fstest/MOD/softwareV2
</Location>
I'm not sure about the Dav svn and Dav On lines. Looking at the documentation,
http://httpd.apache.org/docs/2.1/mod/mod_dav.html
and
http://www.webdav.org/mod_dav/install.html#apache
have the Dav On line and
http://svnbook.red-bean.com/en/1.0/ch06s04.html
has the Dav svn line.

Later on still,
#
# WebDAV module configuration section.
# 
<IfModule mod_dav_fs.c>
    # Location of the WebDAV lock database.
    DAVLockDB /var/lib/dav/lockdb
</IfModule>
which was already in the config file.

Now, I am assuming that <Location /fstsswV2> lets me use fstsswV2 in the URL 
to point to the repository I loaded when I try to do svn checkout, but, when 
I try to use it I get this:-
[dave <at> boss ~]$ svn checkout http://fiddle/fstsswV2 svntest
svn: PROPFIND request failed on '/'
svn: PROPFIND of '/': 405 Method Not Allowed (http://fiddle)
[dave <at> boss ~]$

I really don't know what to try next, so I'm asking you folks if you can 
please give me a little help.

Thanks

Dave Fletcher

--

-- 
Registered Linux user number 393408

Gmane