Allow specifying a template for auto-init.
[gitosis/httpauth.git] / lighttpd-gitweb.conf
blob1046adde262fbe24b9c49fb716596b3a50f3bf94
1 server.modules  += (
2   "mod_cgi",
3   "mod_setenv",
4   "mod_redirect",
7 url.redirect += (
8   "^/gitweb$" => "http://example.com/gitweb/",
10 alias.url += (
11   "/gitweb/" => "/usr/lib/cgi-bin/gitweb.cgi",
12   "/gitweb.css" => "/var/www/gitweb.css",
13   "/git-logo.png" => "/var/www/git-logo.png",
14   "/git-favicon.png" => "/var/www/git-favicon.png",
17 $HTTP["url"] =~ "^/gitweb/" {
18   setenv.add-environment = (
19     "GITWEB_CONFIG" => "/srv/example.com/gitweb/gitweb.conf",
20   )
21   cgi.assign = ( "" => "" )