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

RE: TortoiseSVN, Apache2, and SVN on Windows: PROPFIND 405 errors

From: Robert Hunter <robert.hunter_at_gen-i.co.nz>
Date: 2005-03-09 00:35:46 CET

Christopher H. Laco wrote:
>> When I use the Repo-Browser in TSVN and go to
>> http://localhost/repos, I get:
>>>
>>> Error * PROPFIND request failed on /repos' PROPFIND of '/repos':
>>> 405 Method Not Allowed (http://localhost)
>>>
>>
>> It looks like something (either Apache or a proxy server in the
>> middle) is allowing regular HTTP "GET" requests but not WebDAV
>> "PROPFIND" requests.
>>
>> Make sure there's no proxy in the way, and then check your httpd.conf
>> and make sure that there's no Limit or LimitExcept section that's
>> denying your PROPFIND (and REPORT and OPTIONS).
>>
>
> No proxy for localhost/127.0.0.1 :-)

It can (and does!) happen -- I've seen confusion where "localhost" was
serving up pages from the proxy server because the clients were
configured to send all HTTP requests through it, including localhost.

Still, the HTTP verbs are triggering the issue, whether through
a proxy or directly to Apache.

Try it for yourself:
$ telnet localhost http
OPTIONS /repos HTTP/1.1
Host: localhost

(and leave a blank line)

If you get a 405 (Method Not Allowed) from that, you can
safely assume that your Apache is not letting WebDAV
verbs through.

If you find this is the case, you'll probably want to add
or modify <Limit> and <LimitExcept> sections in your
config.

-- 
Robert Hunter
*****************************************************************************
This communication, including any attachments, is confidential.
If you are not the intended recipient, you should not read it
- please contact me immediately, destroy it, and do not copy
or use any part of this communication or disclose anything about it,
Thank you.
Please note that this communication does not designate an information system
for the purposes of the Electronic Transactions Act 2002
******************************************************************************
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed Mar 9 00:39:02 2005

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