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

Re: PROPFIND 405 Method not allowed

From: Ryan Schmidt <subversion-2007b_at_ryandesign.com>
Date: 2007-06-17 07:47:34 CEST

On Jun 15, 2007, at 09:26, Dr. Ashok N. Ullal wrote:

> 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 messages:
>
> 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
> (http://localhost)
>
> In both cases there is no question of a proxy coming in the way.

That's not the right http URL to use. See below:

> 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>

With this Location directive, you've declared that the URL shall be

http://localhost/svn

> # Uncomment this to enable the repository,
> DAV svn
>
> # Set this to the path to your repository
> SVNPath /var/svn/ibizsim01

And here is where you've specified what repository that URL maps to
in the filesystem.

So you want

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

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Sun Jun 17 07:48:31 2007

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