Project

General

Profile

Actions

Bug #2312

closed

SVN CHECKOUT not passed to mod_proxy

Added by Anonymous about 14 years ago. Updated almost 14 years ago.

Status:
Invalid
Priority:
Normal
Category:
-
Target version:
-
ASK QUESTIONS IN Forums:

Description

$ svn commit -m ""
svn: Server sent unexpected return value (501 Not Implemented) in response to CHECKOUT request

Patch attached. Tested and working.


Files

svn.patch (367 Bytes) svn.patch Anonymous, 2011-05-07 01:06
Actions #1

Updated by stbuehler almost 14 years ago

  • Status changed from New to Invalid
  • Target version deleted (1.4.29)

Your patch changes which methods are accepted for con->mode == DIRECT. As mod_webdav doesn't support svn, you need mod_proxy. mod_proxy sets a different con->mode. So i don't see what your patch could fix, it looks more like it just ignores something stupid which should get the error.
And mod_proxy doesn't care about the request method.

Actions #2

Updated by Anonymous almost 14 years ago

Well, I am using mod_proxy, not mod_webdav. I did try it before I recompiled, and it didn't pass it to mod_proxy (even checked Apache's logs).

Actions #3

Updated by stbuehler almost 14 years ago

I just tested with curl, lighttpd+mod_proxy and netcat as the proxy target (current svn lighttpd-1.4.x branch):

  • lighttpd: proxy.server = ( "" => ( ( "host" => "127.0.0.1", "port" => 8082 ) ) ) (and server.port = 8081 ofc)
  • netcat: printf "HTTP/1.0 200 OK\r\nContent-Length: 4\r\n\r\nxxx\n" | nc -4 -v -l localhost 8082
  • curl -v -X CHECKOUT http://localhost:8081/

The request got to netcat, and the answer got back.

So I don't think it was the request method.

Actions

Also available in: Atom