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