Forum

cgit with Hiawatha

beli3ver
5 October 2018, 16:19
Hello,

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

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

VirtualHost {
Hostname = git.xxx.de
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:
[quote]
[code]
[config]
[url]
[color]
[size]
[img]
[b]
[i]
[u]
[s]
[list]
[ul]
[ol]
[*]