Return to cgi.conf.sample CVS log | Up to [ELWIX - Embedded LightWeight unIX -] / elwix / config / etc / default / lighttpd / conf.d |
1.1.2.1 ! misho 1: ####################################################################### ! 2: ## ! 3: ## CGI modules ! 4: ## --------------- ! 5: ## ! 6: ## http://www.lighttpd.net/documentation/cgi.html ! 7: ## ! 8: server.modules += ( "mod_cgi" ) ! 9: ! 10: ## ! 11: ## Plain old CGI handling ! 12: ## ! 13: ## For PHP don't forget to set cgi.fix_pathinfo = 1 in the php.ini. ! 14: ## ! 15: cgi.assign = ( ".pl" => "/usr/bin/perl", ! 16: ".cgi" => "/usr/bin/perl", ! 17: ".rb" => "/usr/bin/ruby", ! 18: ".erb" => "/usr/bin/eruby", ! 19: ".py" => "/usr/local/bin/python" ) ! 20: ! 21: ## ! 22: ## to get the old cgi-bin behavior of apache ! 23: ## ! 24: ## Note: make sure that mod_alias is loaded if you uncomment the ! 25: ## next line. (see modules.conf) ! 26: ## ! 27: #alias.url += ( "/cgi-bin" => server_root + "/cgi-bin" ) ! 28: #$HTTP["url"] =~ "^/cgi-bin" { ! 29: # cgi.assign = ( "" => "" ) ! 30: #} ! 31: ! 32: ## ! 33: #######################################################################