[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-22 15:19:30 CET

Andy Levy wrote:

>> I have access to my SVN repository from a remote client
>> using svnserve, but not through http .
>>
>> I either get the error message
>> svn: PROPFIND ...: 405 Method Not Allowed
>> or
>> svn: PROPFIND ...: 301 Moved Permanently
>> Which of these is nearer the mark, as a matter of interest?
>>
>> 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 did indeed read these instructions, and followed them exactly,
except that my SVN repository root is at /var/www/svn .
(This is the suggested root in /etc/httpd/conf.d/subversion.conf
under Fedora-8.)

I cannot even checkout with http on the same computer:
=========================================
[tim_at_alfred svn]$ svn checkout http://localhost/svn/Maths/Penrose Penrose
svn: PROPFIND request failed on '/svn/Maths/Penrose'
svn: PROPFIND of '/svn/Maths/Penrose': 405 Method Not Allowed
(http://localhost)
=========================================
though I have no problem with svnserve, eg
=========================================
[tim_at_alfred tmp]$ svn checkout svn://localhost/var/www/svn/Maths/Penrose
Penrose
A Penrose/trunk
A Penrose/trunk/penrose.ins
A Penrose/trunk/penrose.dtx
A Penrose/trunk/README
A Penrose/brances
A Penrose/tags
Checked out revision 1.
=========================================

I guess it is something to do with my httpd settings,
though httpd works perfectly as a web-server.

-- 
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 Sat Dec 22 15:21:26 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.