Annotation of embedaddon/lighttpd/doc/config/conf.d/cgi.conf, revision 1.1.1.2

1.1       misho       1: #######################################################################
                      2: ##
                      3: ##  CGI modules
                      4: ## --------------- 
                      5: ##
1.1.1.2 ! misho       6: ## See http://redmine.lighttpd.net/projects/lighttpd/wiki/docs_modcgi
1.1       misho       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/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>