cgit with Hiawatha

5 October 2018, 16:19

I want to know if there is anybody who have a working configuration with the web tool for Git I mean cgit.

6 October 2018, 09:32
Ok that is my config right now:

VirtualHost {
Hostname =
Setenv CGIT_CONFIG = /etc/cgitrc
Alias = /cgit.css:/usr/share/cgit/cgit.css
Alias = /cgit.png:/usr/share/cgit/cgit.png
Alias = /cgit.cgi:/usr/lib/cgit/cgit.cgi
ScriptAlias = /cgit.cgi:/usr/lib/cgit/cgit.cgi
ExecuteCGI = yes
WebsiteRoot = /usr/libg/cgit

The problem, I don't know the handler. The name of the cgi file ist cgit.cgi so which handle is it?
Hugo Leisink
7 October 2018, 14:22
A .cgi file is probably a script that can run on itself. Does the first line of that script start with '#!' and does it have the execute bit set? If so, use 'CGIextension = cgi'.
Allowed BBcodes: