On Sat, Jan 05, 2013 at 08:32:09PM -0500, Jason Pyeron wrote: > When doing a clone by https (reverse proxied to http) the first request is > > GET /git/project/info/refs?service=git-upload-pack > > 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 service tag and start smart-http. See "git help http-backend" for details on plugging it into Apache. Cloning/fetching does not use DAV at all; it is only for non-smart pushing (and I would not recommend setting it up; the smart protocol spoken by git-http-backend does pushing much more efficiently, and is better maintained). > I ask because I have 2 projects, one works the other does not. > > I am using httpd-2.0.52-49.ent.centos4 and git-22.214.171.124-1. > > I am not even sure what to tell more about or where to look next. If you haven't set up git-http-backend, then git is just going to fetch the remote repo's data directly over http. So the usual advice for accessing something via http would apply (check the server's access and error logs, try hitting it with a web browser, etc). If you set GIT_CURL_VERBOSE=1 in your environment, git will spew a lot of debugging information about what http requests it is making. That might give you a clue (you haven't said anything about what does not work, so I can't be more specific). -Peff -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html