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

PROPFIND 405 Method not allowed

From: Dr. Ashok N. Ullal <ashok_at_ullal.de>
Date: 2007-06-15 16:26:24 CEST

I have used Subversion under Windows with the file scheme for many
years. I now want to shift to a Ubuntu Linux server-based Subversion
with the http scheme. I have created the repository ibizsim01 under
/var/svn and have granted appropriate ownership www-data:svn and rights
770 and g+rws on /var/svn. I can start svnserve and use the svn scheme
without any problem. However when I try to use the http scheme either
locally on the server or from a remote host, I get the following error

svn co http://localhost/var/svn/ibizsim01 ./a --username ullal

svn: PROPFIND request failed on 'var/svn/ibizsim01'
svn: PROPFIND of '/var/svn/ibizsim01': 405 Method Not Allowed

In both cases there is no question of a proxy coming in the way.

My /etc/apache2/mods-available/dav_svn.conf is as follows:

# dav_svn.conf - Example Subversion/Apache configuration
# For details and further options see the Apache user manual and
# the Subversion book.

# <Location URL> ... </Location>
# URL controls how the repository appears to the outside world.
# In this example clients access the repository as http://hostname/svn/
<Location /svn>

   # Uncomment this to enable the repository,
   DAV svn

   # Set this to the path to your repository
   SVNPath /var/svn/ibizsim01

   # The following allows for basic http authentication. Basic
   # should not be considered secure for any particularly rigorous
definition of
   # secure.

   # to create a passwd file
   # # rm -f /etc/apache2/dav_svn.passwd
   # # htpasswd2 -c /etc/apache2/dav_svn.passwd dwhedon
   # New password:
   # Re-type new password:
   # Adding password for user dwhedon
   # #

   # Uncomment the following 3 lines to enable Basic Authentication
   AuthType Basic
   AuthName "Subversion Repository"
   AuthUserFile /etc/apache2/dav_svn.passwd

   # Uncomment the following line to enable Authz Authentication
   # AuthzSVNAccessFile /etc/apache2/dav_svn.authz

   # The following three lines allow anonymous read, but make
   # committers authenticate themselves.

     Require valid-user
# </LimitExcept>


To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Sun Jun 17 06:07:07 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.