Re: Trying to understand the web dav details
From: Jeff King <hidden>
Date: 2016-06-15 22:55:39
On Sun, Jan 06, 2013 at 04:49:57AM +0000, Pyeron, Jason J CTR (US) wrote:
quoted
quoted
How does the ?service=xxxx get translated in to the action performed on the web server?If you are using the git-http-backend CGI, it will interpret the serviceNo, using plain jane http and webdav. This server is not "allowed" to use cgi processes.
Then the service parameter should be ignored by your webserver, and it should just serve the info/refs file from the repository on the filesystem. And you are stuck using WebDAV for push.
quoted
GET /git/project-x/info/refs HTTP/1.1[...] * The requested URL returned error: 404 Not Found
Does the info/refs file exist in the project-x repository?
fatal: https://server/git/project-x/info/refs not found: did you run git update-server-info on the server?
Did you? If you can't run any git programs on the server at all (and it sounds like that may be the case), you'll need to run it locally before putting the repository data on the server. Once you have WebDAV set up for pushing, it will update the info/refs file for each push. But if you are initially seeding the server with rsync or a tarfile, you'll want to make sure it has an up-to-date info/refs file. -Peff