Forum

Hiawatha configuraion snippets for gitweb.{cgi,fcgi,wsgi}

Balwinder S Dheeman
13 August 2016, 15:23
I find someone gave up using Hiawatha webserver, just because she/he could not make the Git's gitweb.cgi work with it. Here is what I figured out to make the same work without any wrapper and, or other utility. Hope, this helps you too ;-)
##
## HERE'RE SOME EXAMPLE SNIPPETS, YOU MAY ADD TO YOUR VIRTUALHOST RECORDS
## OR CONF AS APPROPRIATE, YOU SHOULD KNOW WELL WHAT INDEED YOU'RE DOING;
##
## ** DON'T USE THIS AS A FULLY WORKING/INCLUDABLE HIAWATHA CONF FILE! **

## Add these snippets as appropriate to your virtualhost(s)
#Directory {
# DirectoryId = git
# ExecuteCGI = yes
# Path = /usr/share/gitweb
#}

#UrlToolkit {
# ToolkitID = redirect
## Add the following redirect rule(s) to your virtualhost(s)
# Match ^/git/$ Redirect /git/gitweb.cgi
#}

#VirtualHost {
# Hostname = *.example.com
# ...
## Add the following lines to your virtualhost(s)
# Alias = /git:/usr/share/gitweb
# Setenv GITWEB_CONFIG = /etc/gitweb.conf
# UseDirectory = git # Add the 'git' into this list
#}
This topic has been closed.