]> git.pld-linux.org Git - packages/lighttpd.git/commitdiff
- some bright ideas from debian
authorElan Ruusamäe <glen@pld-linux.org>
Mon, 17 Jul 2006 12:44:08 +0000 (12:44 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    lighttpd-mod_cgi.conf -> 1.3

lighttpd-mod_cgi.conf

index bd59fcda5cc905baf11f952429e21cd054fd5f59..d6a0ffe55d1bf84d358f8688fe241db2e7028f0f 100644 (file)
@@ -1,10 +1,23 @@
+# CGI module
+# http://www.lighttpd.net/documentation/cgi.html
+
 server.modules += (
        "mod_cgi"
 )
 
-#### CGI module
-#cgi.assign = (
-#      ".pl"  => "/usr/bin/perl",
-#      ".cgi" => "/usr/bin/perl",
-#)
+$HTTP["url"] =~ "/cgi-bin/" {
+       cgi.assign = ( "" => "" )
+}
+
+alias.url += (
+        "/cgi-bin/" => "/home/services/lighttpd/cgi-bin/",
+       # FIXME: or use system shared cgi-bin here?
+#       "/cgi-bin/" => "/usr/lib/cgi-bin/",
+)
 
+cgi.assign = (
+    ".cgi" => "",
+#      ".pl"  => "/usr/bin/perl",
+#      ".php" => "/usr/bin/php-cgi",
+#      ".py"  => "/usr/bin/python",
+)
This page took 0.037376 seconds and 4 git commands to generate.