X-Git-Url: http://git.pld-linux.org/?p=packages%2Fgit-core.git;a=blobdiff_plain;f=git-core-gitweb-lighttpd.conf;fp=git-core-gitweb-lighttpd.conf;h=ff6c3525d6beae07d7dcb554ed0a84f17177dedb;hp=0000000000000000000000000000000000000000;hb=8e9a3fa2ac9a7a9a8c13558fde23983386e060fe;hpb=1c46a95a5649c909ed6e82d899d5243b9fff4d88 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", + ) +}