]> git.pld-linux.org Git - packages/git-core.git/commitdiff
- lighttpd support
authorKarol Krenski <charles@pld-linux.org>
Sun, 17 Oct 2010 19:16:07 +0000 (19:16 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    git-core-gitweb-lighttpd.conf -> 1.1

git-core-gitweb-lighttpd.conf [new file with mode: 0644]

diff --git a/git-core-gitweb-lighttpd.conf b/git-core-gitweb-lighttpd.conf
new file mode 100644 (file)
index 0000000..ff6c352
--- /dev/null
@@ -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",
+    )
+}
This page took 0.046398 seconds and 4 git commands to generate.