]> git.pld-linux.org Git - packages/git-core.git/blame - git-core-gitweb-lighttpd.conf
- lighttpd support
[packages/git-core.git] / git-core-gitweb-lighttpd.conf
CommitLineData
8e9a3fa2
KK
1# NOTE:
2# required lighttpd-mod_setenv
3
4alias.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.047071 seconds and 4 git commands to generate.