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

Re: Getting "405 Method Not Allowed"

From: Douglas Bates <bates_at_stat.wisc.edu>
Date: 2004-06-07 15:56:15 CEST

Paul Puschmann <paul.puschmann@medcom-service.de> writes:

> Max Bowsher schrieb:
> | Douglas Bates wrote:
> |
> |>I am using the subversion package for Debian GNU/Linux unstable on a
> |>system that mostly runs the testing distributiuon.
> |>
> |>ii subversion 1.0.3-1 Advanced version control system (aka.
> |
> | svn)
> |
> |>Apache2 runs as user www-data.
> |
> |>As user www-data I can run svnadmin on the path /svn/Rlibs. However,
> |>any operations that try to access the archive through the URI
> |>http://bates4.stat.wisc.edu:2180/Rlibs get errors of the form
> |>
> |>/home/bates/src/Rlibs/lme4 $ svn up
> |>svn: PROPFIND request failed on '/Rlibs/trunk/lme4'
> |>svn: PROPFIND of '/Rlibs/trunk/lme4': 405 Method Not Allowed
> |>(http://bates4.stat.wisc.edu)
> |>
> |>P.S. Please cc: me on replies. I am not currently on this mailing
> |>list although I have tried to subscribe.
> |
> |
> | Sounds like mod_dav_svn isn't configured correctly, so apache is getting a
> | DAV method on a non-DAV URL and so failing.
> |
> | Max.
> Hi,
> with SuSE 9.1 I the following code in httpd.conf to access my repositories:
> <Location /svn/repos/test>
> ~ DAV svn
> ~ SVNPath /srv/svn/repos/test/
> </Location>
> Where SVNPath is the path on my filesystem.
> Have you loaded mod_dav and mod_dav_svn ?
> And: Does your Apache2 really run as user www-data?

Thanks. That was the clue.

The situation was a little more complicated than just forgetting to
have apache configured correctly. I upgraded the versions
of the Debian subversion packages from the testing distribution to the
unstable distribution so that I would use cvsweb.cgi on the archives.
I hadn't noticed that the old version of the libapache2-svn Debian
package had been removed during the upgrade and there was no immediate
effect because the apache2 processes kept running with the old shared
libraries which they still had open.

However, when the weekly cron scripts restarted the apache2 server it
no longer had the svn modules to load.

All fixed now. Thanks.

To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Mon Jun 7 15:58:36 2004

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.