packages: git-core/git-core-gitweb-lighttpd.conf (NEW) - lighttpd support
charles
charles at pld-linux.org
Sun Oct 17 21:16:13 CEST 2010
Author: charles Date: Sun Oct 17 19:16:13 2010 GMT
Module: packages Tag: HEAD
---- Log message:
- lighttpd support
---- Files affected:
packages/git-core:
git-core-gitweb-lighttpd.conf (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: packages/git-core/git-core-gitweb-lighttpd.conf
diff -u /dev/null packages/git-core/git-core-gitweb-lighttpd.conf:1.1
--- /dev/null Sun Oct 17 21:16:13 2010
+++ packages/git-core/git-core-gitweb-lighttpd.conf Sun Oct 17 21:16:07 2010
@@ -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",
+ )
+}
================================================================
More information about the pld-cvs-commit
mailing list