Add lighttpd configuration files.
This commit is contained in:
parent
89083f037f
commit
ef9807cdc6
5 changed files with 718 additions and 0 deletions
33
lighttpd/conf.d/cgi.conf
Normal file
33
lighttpd/conf.d/cgi.conf
Normal file
|
|
@ -0,0 +1,33 @@
|
|||
#######################################################################
|
||||
##
|
||||
## CGI modules
|
||||
## ---------------
|
||||
##
|
||||
## http://www.lighttpd.net/documentation/cgi.html
|
||||
##
|
||||
server.modules += ( "mod_cgi" )
|
||||
|
||||
##
|
||||
## Plain old CGI handling
|
||||
##
|
||||
## For PHP don't forget to set cgi.fix_pathinfo = 1 in the php.ini.
|
||||
##
|
||||
cgi.assign = ( ".pl" => "/usr/bin/perl",
|
||||
".cgi" => "/usr/bin/python",
|
||||
".rb" => "/usr/bin/ruby",
|
||||
".erb" => "/usr/bin/eruby",
|
||||
".py" => "/usr/bin/python" )
|
||||
|
||||
##
|
||||
## to get the old cgi-bin behavior of apache
|
||||
##
|
||||
## Note: make sure that mod_alias is loaded if you uncomment the
|
||||
## next line. (see modules.conf)
|
||||
##
|
||||
#alias.url += ( "/cgi-bin" => server_root + "/cgi-bin" )
|
||||
#$HTTP["url"] =~ "^/cgi-bin" {
|
||||
# cgi.assign = ( "" => "" )
|
||||
#}
|
||||
|
||||
##
|
||||
#######################################################################
|
||||
Loading…
Add table
Add a link
Reference in a new issue