File:  [ELWIX - Embedded LightWeight unIX -] / elwix / config / etc / default / lighttpd / conf.d / cgi.conf
Revision 1.2: download - view: text, annotated - select for diffs - revision graph
Sun Jan 5 23:14:24 2014 UTC (10 years, 7 months ago) by misho
Branches: MAIN
CVS tags: elwix2_3, elwix2_2, HEAD, ELWIX2_2p0, ELWIX2_1
version 2.1

    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: #######################################################################

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>