Re: PROPFIND 405 with git-http-backend and Smart HTTP
- From
Shawn Pearce <spearce@spearce.org>
- Date
- Jul 30, 2012, 01:00 UTC
- Message-ID
- <CAJo=hJtB6OQ8+8Q_JgPoAntOdQ=Z0tOERYRD7wJ0LRLgacYA8A@mail.gmail.com>
- In-Reply-To
- <1343587966493-7564017.post@n2.nabble.com>
On Sun, Jul 29, 2012 at 11:52 AM, Bo98 <BoEllisAnderson@aol.com> wrote:
> I'm setting up a git server with git-http-backend and Smart HTTP but I'm > getting PROPFIND Error 405 with git push.
This suggests the client didn't see the server as one supporting smart HTTP. ...
Show 5 quoted lines
> > And here's a snip from my access_log: > > ::1 - - [29/Jul/2012:18:34:34 +0100] "GET > /repo/myproject.git/info/refs?service=git-receive-pack HTTP/1.1" 200 117
Was this request actually served using the smart http-backend? Try the request yourself on the command line with curl, making sure to pass the ?service=git-receive-pack query parameter. A smart HTTP response will include a service=git-receive-pack line as the first line of the response body. I don't think Apache called the http-backend CGI, and so the client thought the server was not smart HTTP capable.