ScriptAlias question

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

--
Michele Marcionelli · mm@xxxxxxx · +41 44 632 6193
* Please consider the environment before printing


[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux