Jim Cheetham wrote:
I'm having a lot of headaches setting up Apache mod_dav_svn to allow write access to a subversion repository.
The basic setup is excessively simple, yet although I can get read-only access, I get 403 errors when attempting to checkin or import.
<Location "/repos"> DAV svn SVNPath /home/trac/support/repository </Location>
This allows read access via the browser, and from the command-line $ svn ls http://support/repos
But I get horrible 403 errors on writes :-
[EMAIL PROTECTED] egrtools]$ svn import http://support/repos/egrtools Skipped '.svn' Adding getetcs svn: MERGE request failed on '/repos/egrtools' svn: MERGE of '/repos/egrtools': 403 Forbidden (http://support)
In the apache error_log I get :-
A subtree cannot specify a different DAV provider than its parent.
[client 10.128.2.13] client denied by server configuration: /home/trac/support/repos
Any clues would be gratefully received :-)
-jim
I had a lot of fun with that, too. I ended up rolling my own apache2, using
$ ./configure --enable-so --with-dav --enable-dav
and in /etc/httpd.conf,
DavLockDB /usr/local/apache2/DavLock
# You need something like this to authenticate users <Location "/cgi-bin/trac.cgi/login"> Dav On AuthType Basic AuthName "project" AuthUserFile /usr/local/apache2/trac.htpasswd Require valid-user </Location>
( only the Dav On is relevant for this bit )
Good luck,
steve
