[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Http access to SVN repository

From: Timothy Murphy <gayleard_at_eircom.net>
Date: 2007-12-24 03:42:28 CET

Andy Levy wrote:

>> I have access to my SVN repository from a remote client
>> using svnserve, but not through http .
>>
>> I get the error message
>> svn: PROPFIND ...: 405 Method Not Allowed
>>
>> I guess the problem probably lies in httpd.conf ,
>> but I haven't come across a document that says
>> exactly what changes one has to make for svn .
>> (I do have mod_dav_svn installed.)
>>
>> Any enlightenment or pointers gratefully received.
>
> http://svnbook.red-bean.com/en/1.4/svn.serverconfig.httpd.html

I have read this several times, carefully.
As far as I can tell, I have followed the instructions there exactly.

I am running Fedora-7 on the computer in question.
Here is my /etc/httpd/conf.d/subversion.conf ,
with most of the comment lines removed.
-----------------------------------------
LoadModule dav_svn_module modules/mod_dav_svn.so
LoadModule authz_svn_module modules/mod_authz_svn.so

# Example configuration to enable HTTP access for a directory
# containing Subversion repositories, "/var/www/svn".

<Location /repos>
   DAV svn
   SVNParentPath /var/www/svn
# SVNPath /var/www/svn/Penrose
#
# # Limit write permission to list of valid users.
# <LimitExcept GET PROPFIND OPTIONS REPORT>
# # Require SSL connection for password protection.
# # SSLRequireSSL
#
# AuthType Basic
# AuthName "Subversion Repository"
# AuthUserFile /etc/svn-auth-file
# Require valid-user
# </LimitExcept>
</Location>
-----------------------------------------

I've tried with the authentication lines commented in and out.
I get the same result whatever I do.

I wonder if there is some WebDAV code I need to include
in /etc/httpd/conf/httpd.conf .
At present that file is more or less unchanged.

-- 
Timothy Murphy  
e-mail (<80k only): tim /at/ birdsnest.maths.tcd.ie
tel: +353-86-2336090, +353-1-2842366
s-mail: School of Mathematics, Trinity College, Dublin 2, Ireland
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Mon Dec 24 03:43:22 2007

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.