%PDF- %PDF-
| Direktori : /proc/self/root/backups/router/usr/local/etc/lighttpd/conf.d/ |
| Current File : //proc/self/root/backups/router/usr/local/etc/lighttpd/conf.d/cgi.conf.sample |
#######################################################################
##
## CGI modules
## ---------------
##
## https://wiki.lighttpd.net/mod_cgi
##
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/perl",
".rb" => "/usr/bin/ruby",
".erb" => "/usr/bin/eruby",
".py" => "/usr/local/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 = ( "" => "" )
#}
##
## require execute permission (+x) on files for CGI scripts
## default: disable
##
#cgi.execute-x-only = "enable"
##
## process X-Sendfile (if present) from CGI response
## default: disable
##
#cgi.x-sendfile = "enable"
#cgi.x-sendfile-docroot = ( server_root + "/html", server_root + "/static" )
##
## Local Redirect Response optimization
## https://www.ietf.org/rfc/rfc3875 6.2.2 Local Redirect Response optimization
## default: disable
##
#cgi.local-redir = "enable"
##
## permit Upgrade, e.g. Upgrade: websocket
## default: disable
##
#cgi.upgrade = "enable"
##
#######################################################################