I am a new git learner and just set up a git server using git-http-backend and Apache. Following the official doc(git-http-backend Documentation <https://git-scm.com/docs/git-http-backend>), the httpd.conf can be simple:
SetEnv GIT_PROJECT_ROOT /var/www/git SetEnv GIT_HTTP_EXPORT_ALL ScriptAlias /git/ /usr/libexec/git-core/git-http-backend/ # ...something else... My question is about the ScriptAlias and git-http-backend, the /usr/libexec/git-core/git-http-backend is an executable program and of course, a file. But in the configuration, it seems to a directory. One URL like http://example.com/git/foo.git should start an CGI program located in /usr/libexec/git-core/git-http-backend/foo.git, which in my view can't exist in the file system. Can anyone help me figure this out? -- You received this message because you are subscribed to the Google Groups "Git for human beings" group. To unsubscribe from this group and stop receiving emails from it, send an email to git-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/git-users/9baf7b3a-7abb-4f88-9470-78f71e20458bn%40googlegroups.com.