]> git.pld-linux.org Git - packages/lighttpd.git/blob - lighttpd-mod_cgi.conf
up to 1.4.38
[packages/lighttpd.git] / lighttpd-mod_cgi.conf
1 # CGI module
2 #
3 # Documentation: http://redmine.lighttpd.net/projects/lighttpd/wiki/Docs_ModCGI
4
5 server.modules += (
6         "mod_cgi"
7 )
8
9 $HTTP["url"] =~ "/cgi-bin/" {
10         cgi.assign = ( "" => "" )
11 }
12
13 alias.url += (
14          "/cgi-bin/" => "/home/services/lighttpd/cgi-bin/",
15         # FIXME: or use system shared cgi-bin here?
16 #        "/cgi-bin/" => "/usr/lib/cgi-bin/",
17 )
18
19 cgi.assign = (
20     ".cgi" => "",
21 #       ".pl"  => "/usr/bin/perl",
22 #       ".php" => "/usr/bin/php.cgi",
23 #       ".py"  => "/usr/bin/python",
24 )
25
26 #static-file.exclude-extensions = (
27 #       ".pl",
28 #       ".php",
29 #       ".py",
30 #)
This page took 0.044813 seconds and 3 git commands to generate.