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

405 not allowed in reponse to PROPFIND

From: Anderson Smith <tairic_at_hotmail.com>
Date: Wed, 23 Sep 2009 14:59:48 -0400

I'm having a hell of a time getting
svn/apache/https working. Unfortunately I'm relatively new to any Systems Administration, and no one else where I work has any idea what is going on, so thank you for any help.

Before I installed my SSL and made a virtualhost in /etc/httpd/conf.d/subversion.conf SVN was working remotely, but now that I have that it's not. I'm having trouble debugging it. I thought maybe it was a permissions issue, so I put user apache in a group called svn (I'm running CentOS) and did "chgrp -R apache repos/ && chmod g+rw -R repos/" to no avail, I even tried later to just do "chown -R apache.apache repos/" but still no luck. I'm not quite sure what the problem is and I've tried to detail what I can below, thank you for any help.

https is working, I can and see
        things in the /var/www/html/ directory
        subversion works locally. For
        example, I get the following when I use file:///
        instead of http,

                [root_at_localhost tmp]# svn co

                A project/main

                A project/main/index.php

                A project/config

                A project/config/nom.php

                A project/options

                A project/options/options.php

                Checked out revision 3.

                [root_at_localhost tmp]#

        When I commit, I get the following:
                [root_at_localhost project]# svn commit
-m "I did a bunch of stuff"

                Sending config/nom.php

                Transmitting file data .

                Committed revision 4.

                Warning: post-commit hook failed
(exit code 255) with no output.

                [root_at_localhost project]#

        This is quite the different error, and
I suspect unrelated, but here is what is in


                /usr/bin/svn update --username=hook

        The reason for this is that I need
updates that are committed to be pushed to a live site served by
apache I can actually view.

3. When I attempt to use subversion
        remotely I get the following:
        user_at_remotemachine:~$ svn co

        svn: Server sent unexpected return
value (405 Method Not Allowed) in response to PROPFIND request for

My /etc/httpd/conf.d/subversion.conf is
as follows:

LoadModule dav_svn_module

LoadModule authz_svn_module

<VirtualHost *:447>

        DocumentRoot "/var/www/html"


        SSLEngine on

        SSLCipherSuite HIGH:MEDIUM



        <Location /var/www/svn>

                DAV svn



                AuthType Basic

                AuthName "Subversion


                Require valid-user


        ServerAdmin admin_at_example.com


        /etc/httpd/conf/httpd.conf is set to
listen on 447. I think the port here might need to be 443, but when
I restart apache it is already listening on that port per a
virtualhost in /etc/httpd/conf.d/ssl.conf

If I change the VirtualHost to be *:80 instead of 447 I get this:
user@remotemachine:~$ svn co
svn: OPTIONS of '': Could not read status line: connection was closed by server (

Thanks again

Microsoft brings you a new way to search the web. Try Bing™ now
http://www.bing.com?form=MFEHPG&publ=WLHMTAG&crea=TEXT_MFEHPG_Core_tagline_try bing_1x1


To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2009-09-23 21:01:24 CEST

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.