--- /dev/null
+# CGI module
+#
+# Documentation: http://redmine.lighttpd.net/projects/lighttpd/wiki/Docs_ModCGI
+
+server.modules += (
+ "mod_cgi"
+)
+
+$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",
+)
+
+#static-file.exclude-extensions = (
+# ".pl",
+# ".php",
+# ".py",
+#)