]> git.pld-linux.org Git - packages/git-core.git/blob - git-core-gitweb-lighttpd.conf
ff6c3525d6beae07d7dcb554ed0a84f17177dedb
[packages/git-core.git] / git-core-gitweb-lighttpd.conf
1 # NOTE:
2 # required lighttpd-mod_setenv
3
4 alias.url += (
5     "/gitweb/" => "/usr/share/gitweb/",
6 )
7
8 $HTTP["url"] =~ "^/gitweb/" {
9     server.document-root = "/usr/share/gitweb"
10     index-file.names     = ( "gitweb.cgi" )
11     cgi.assign = ( "gitweb.cgi" => "/usr/lib/cgi-bin/gitweb.cgi" )
12
13     setenv.add-environment = (
14         "GITWEB_CONFIG" => "/etc/webapps/gitweb/gitweb.conf",
15     )
16 }
This page took 0.02616 seconds and 2 git commands to generate.