From: Matthijs Kooijman Date: Tue, 7 Apr 2009 20:38:37 +0000 (+0200) Subject: lighttpd: Re-enable cgi handling for gitweb. X-Git-Url: https://git.stderr.nl/gitweb?a=commitdiff_plain;ds=inline;h=62e15f9708219209e79b7ca71246b91ba749f7d0;p=matthijs%2Fservers%2Fdrsnuggles.git lighttpd: Re-enable cgi handling for gitweb. This was accidentally disabled in a previous commit. --- diff --git a/etc/lighttpd/vhosts/stderr-nl b/etc/lighttpd/vhosts/stderr-nl index 2012e8b..f332a71 100644 --- a/etc/lighttpd/vhosts/stderr-nl +++ b/etc/lighttpd/vhosts/stderr-nl @@ -14,6 +14,7 @@ $HTTP["host"] =~ ".stderr.nl$" { ) $HTTP["host"] =~ "git.stderr.nl$" { + cgi.assign += ( "gitweb.cgi" => "" ) # Put this alias in a url conditional, so urls like /gitweb.css won't get alias'd $HTTP["url"] =~ "^/gitweb(/.*)?$" { alias.url += ( "/gitweb" => "/usr/lib/cgi-bin/gitweb.cgi" )