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

RE: 405 method not allowed error

From: Gifford, Noel <noel.gifford_at_intel.com>
Date: 2005-11-07 19:57:29 CET

Eric,

 

The subversion checkout command only works on directories. If you're
actually trying to checkout a file (foo.doc) then it won't work.

You can get the file using svn cat
http://hostname/svn/pilot/foldera/foo.doc > foo.doc

Using the cat command will not keep history and you won't be able to
check changes back in.

 

Generally, you'd use svn co http://hostname/svn/pilot/foldera to
checkout the entire directory

 

Noel

 

________________________________

From: Eric Brown [mailto:ericbro@gmail.com]
Sent: Monday, November 07, 2005 10:28 AM
To:
Subject: 405 method not allowed error

 

Hello-

I'm trying to checkout my working copy. using the following command:

svn co http://hostname/svn/pilot/foldera/foo.doc .

I get the following error:
svn: PROPFIND request failed on /
svn: PROPFIND of / : 405: Method not allowed

Here's my relevent info: I can pass more if needed.

httpd.conf

user svn
group svnown

DocumentRoot /export/subserv/repos

Load Module dav_module
Load Module dav_svn_module
Load Module authz_svn_module

<Location /svn>
DAV svn
SVNPath /export/subserv/repos

#access policy
AuthzAVNAccessFile /etc/svn-access-file

#authenticate
Require valid-user

#how to authenticate
AuthType Basic
AuthName "repos"
AuthUserFile /etc/svn-auth-file
</Location>

<Directory /export/subserv/repos>
AllowOverride None
Order deny,allow
Allow from all
</Directory>

ls -l /export/subserv/repos
drwxrw-r-- svn:svnown README
drwxrw-r-- svn:svnown conf
drwxrw-r-- svn:svnown dav
drwxrw-r-- svn:svnown db
-rwxrw-r-- svn:svnown format
drwxrw-r-- svn:svnown hooks
-rw-r--r-- svn:svnown index.html
drwxrw-r-- svn:svnown locks
drwxrw-r-- svn:svnown pilot

Apache error log says:
Access denied 'username' PROPFIND svn:/

Apache access log says:
PROPFIND / HTTP/1.1 405 236 svn/1.0.4 neon/0.24.7

I can access the repository fine using my browser.
Any insight into what I'm doing wrong, or have misconfigured would be
helpful. Thanks.

-ecb
Received on Mon Nov 7 20:03:48 2005

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.