# Fwd: HTTP Dumb Push?

2 messages from 2017-03-06 to 2017-03-06. Participants: Christian7573, Jeff King.
Thread: https://gitlist.dev/t/45300

## Christian7573, 2017-03-06 15:38

Subject: Fwd: HTTP Dumb Push?
Message-ID: <CAOJpByWFKbWE=HtNVpqDgfoqo1ajNttstNpRaUHT7a5AjObuJg@mail.gmail.com>
URL: https://gitlist.dev/e/CAOJpByWFKbWE%3DHtNVpqDgfoqo1ajNttstNpRaUHT7a5AjObuJg%40mail.gmail.com
In-Reply-To: <CAOJpByWRg1V85CJsX2akuvbKuqFBoGJO+XJu01Kq0KNwuM-YFA@mail.gmail.com>

```
Is there a way for git to push to a server using the dumb protocol?
Perhaps using the PUT method to upload files?
Just wondering cause I just set up a dumb server and pushing to it
doesn't work. If that isn't an option, where can I get a smart server?

```

## Jeff King, 2017-03-06 15:45

Subject: Re: Fwd: HTTP Dumb Push?
Message-ID: <20170306154505.ams3ekxf33qqcou7@sigill.intra.peff.net>
URL: https://gitlist.dev/e/20170306154505.ams3ekxf33qqcou7%40sigill.intra.peff.net
In-Reply-To: <CAOJpByWFKbWE=HtNVpqDgfoqo1ajNttstNpRaUHT7a5AjObuJg@mail.gmail.com>

```
On Mon, Mar 06, 2017 at 09:38:33AM -0600, Christian7573 wrote:

> Is there a way for git to push to a server using the dumb protocol?
> Perhaps using the PUT method to upload files?
> Just wondering cause I just set up a dumb server and pushing to it
> doesn't work.

Git dumb-http push protocol goes over DAV. There are instructions in
Documentation/howto/setup-git-server-over-http.txt of the git
repository. They're quite old now, and I have no idea if they've
bit-rotted over the years. Hardly anybody uses that solution these days
(and it's much less efficient than the smart protocol).

> If that isn't an option, where can I get a smart server?

The CGI ships with the rest of git.  Try "git help http-backend", which
has some sample config for Apache and lighttpd.

-Peff

```
