Greetings Users
I'm trying to configure git (1) with the git-http-backend using the information
in the man page (2). The main point is to set following ScriptAlias:
ScriptAlias /git/ /usr/libexec/git-core/git-http-backend/
Doing so everything works perfectly and I can access the git repositories
through this address:
http(s)://git.my_apache_server/git/some_repo.git
Since "git.my_apache_server" is a virtual host serving only git, I would like
to avoid the "/git/" in the path, as follow:
http(s)://git.my_apache_server/some_repo.git
I already tried to set following ScriptAlias (without to many convictions ;-):
ScriptAlias / /usr/libexec/git-core/git-http-backend/
But it didn't word.
How can I do this? Here it seems to be possible:
http://git.apache.org (=> "Alternatives"-column => "http"-Link)
Thanks,
Michele
(1) http://git-scm.com
(2) http://www.kernel.org/pub/software/scm/git/docs/git-http-backend.html
--
Michele Marcionelli · [email protected] · +41 44 632 6193
* Please consider the environment before printing