X-Git-Url: https://git.tld-linux.org/?a=blobdiff_plain;f=mod_cgi.conf;fp=mod_cgi.conf;h=75ed293853a05716179cc030a56d680995ca485d;hb=8239b3691d1ae536833b6d53a2efd289956ccbcd;hp=0000000000000000000000000000000000000000;hpb=2bc378a1b82f8e82ab66bd2a656282134a6d05e0;p=packages%2Flighttpd.git diff --git a/mod_cgi.conf b/mod_cgi.conf new file mode 100644 index 0000000..75ed293 --- /dev/null +++ b/mod_cgi.conf @@ -0,0 +1,30 @@ +# 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", +#)