svnapachezend-studioapache-config

Subversion (SVN) Propfind 405 error


I am brand new to Subversion and have been told that this is the best thing since sliced bread. I have tried Google, and I am just drawing blanks on what is wrong and have tried multiple different suggestions. I get the following error.

The Location information has been specified incorrectly.

svn: Propfind of '/svn': 405 Method not allowed (http://IPADDRESS) with IPADDRESS being the IP of my server.

I get this when I try to log in through Zend Studio. I use the following to try to login:

URL: http://IPADDRESS/svn/
Username: fakeuser
Password: fakepassword

I believe that the issue is around this file because of the error "Location Information has been specified incorrectly". This file is included in the httpd.conf file. I have restarted Apache and there are not errors when restarting Apache.

<Location /project1>
   DAV svn
   SVNPath /home/jhughes/project1
   AuthzSVNAccessFile /home/jhughes/.svn-policy-file
   AuthName "SVN Repositories"
   AuthType Basic
   AuthUserFile /home/jhughes/.svn-auth-file
   Satisfy Any
   Require valid-user
</Location>

I have spent a few hours on this and cannot get it.

I am not using a proxy server. I am using the IP address of the server, because I have multiple domains on the server and thought this may be an issue.


Solution

  • I think your URL is partly to blame - try something more along the lines of

    http://username:password@IPADDRESS/svn/project1/