]> git.pld-linux.org Git - packages/lighttpd.git/blame - lighttpd-mod_cgi.conf
up to 1.4.38
[packages/lighttpd.git] / lighttpd-mod_cgi.conf
CommitLineData
b7452efb 1# CGI module
1efd0147 2#
bce8a1c7 3# Documentation: http://redmine.lighttpd.net/projects/lighttpd/wiki/Docs_ModCGI
b7452efb 4
7d3968ad
ER
5server.modules += (
6 "mod_cgi"
7)
693950e2 8
b7452efb
ER
9$HTTP["url"] =~ "/cgi-bin/" {
10 cgi.assign = ( "" => "" )
11}
12
13alias.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)
693950e2 18
b7452efb
ER
19cgi.assign = (
20 ".cgi" => "",
21# ".pl" => "/usr/bin/perl",
598743df 22# ".php" => "/usr/bin/php.cgi",
b7452efb
ER
23# ".py" => "/usr/bin/python",
24)
2683d1b0
ER
25
26#static-file.exclude-extensions = (
27# ".pl",
28# ".php",
29# ".py",
30#)
This page took 0.077583 seconds and 4 git commands to generate.