lighttpd: Re-enable cgi handling for gitweb.
authorMatthijs Kooijman <matthijs@stdin.nl>
Tue, 7 Apr 2009 20:38:37 +0000 (22:38 +0200)
committerMatthijs Kooijman <matthijs@stdin.nl>
Tue, 7 Apr 2009 20:38:37 +0000 (22:38 +0200)
This was accidentally disabled in a previous commit.

etc/lighttpd/vhosts/stderr-nl

index 2012e8b129e09195f24849cb46c26f325d14cfdd..f332a7190eeab7d10e6df6483b5f9e82791d95ac 100644 (file)
@@ -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" )