From: Karol Krenski Date: Sun, 17 Oct 2010 19:16:07 +0000 (+0000) Subject: - lighttpd support X-Git-Tag: auto/th/git-core-1_7_3_2-1~2 X-Git-Url: http://git.pld-linux.org/?p=packages%2Fgit-core.git;a=commitdiff_plain;h=8e9a3fa2ac9a7a9a8c13558fde23983386e060fe - lighttpd support Changed files: git-core-gitweb-lighttpd.conf -> 1.1 --- diff --git a/git-core-gitweb-lighttpd.conf b/git-core-gitweb-lighttpd.conf new file mode 100644 index 0000000..ff6c352 --- /dev/null +++ b/git-core-gitweb-lighttpd.conf @@ -0,0 +1,16 @@ +# NOTE: +# required lighttpd-mod_setenv + +alias.url += ( + "/gitweb/" => "/usr/share/gitweb/", +) + +$HTTP["url"] =~ "^/gitweb/" { + server.document-root = "/usr/share/gitweb" + index-file.names = ( "gitweb.cgi" ) + cgi.assign = ( "gitweb.cgi" => "/usr/lib/cgi-bin/gitweb.cgi" ) + + setenv.add-environment = ( + "GITWEB_CONFIG" => "/etc/webapps/gitweb/gitweb.conf", + ) +}