SOURCES: lighttpd-mod_cgi.conf - some bright ideas from debian
glen
glen at pld-linux.org
Mon Jul 17 14:44:13 CEST 2006
Author: glen Date: Mon Jul 17 12:44:13 2006 GMT
Module: SOURCES Tag: HEAD
---- Log message:
- some bright ideas from debian
---- Files affected:
SOURCES:
lighttpd-mod_cgi.conf (1.2 -> 1.3)
---- Diffs:
================================================================
Index: SOURCES/lighttpd-mod_cgi.conf
diff -u SOURCES/lighttpd-mod_cgi.conf:1.2 SOURCES/lighttpd-mod_cgi.conf:1.3
--- SOURCES/lighttpd-mod_cgi.conf:1.2 Tue Jul 11 22:17:36 2006
+++ SOURCES/lighttpd-mod_cgi.conf Mon Jul 17 14:44:08 2006
@@ -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",
+)
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SOURCES/lighttpd-mod_cgi.conf?r1=1.2&r2=1.3&f=u
More information about the pld-cvs-commit
mailing list