]> git.pld-linux.org Git - packages/lighttpd.git/blob - lighttpd-mod_cgi.conf
- some bright ideas from debian
[packages/lighttpd.git] / lighttpd-mod_cgi.conf
1 # CGI module
2 # http://www.lighttpd.net/documentation/cgi.html
3
4 server.modules += (
5         "mod_cgi"
6 )
7
8 $HTTP["url"] =~ "/cgi-bin/" {
9         cgi.assign = ( "" => "" )
10 }
11
12 alias.url += (
13          "/cgi-bin/" => "/home/services/lighttpd/cgi-bin/",
14         # FIXME: or use system shared cgi-bin here?
15 #        "/cgi-bin/" => "/usr/lib/cgi-bin/",
16 )
17
18 cgi.assign = (
19     ".cgi" => "",
20 #       ".pl"  => "/usr/bin/perl",
21 #       ".php" => "/usr/bin/php-cgi",
22 #       ".py"  => "/usr/bin/python",
23 )
This page took 0.035699 seconds and 4 git commands to generate.