Mercurial > hg > rlgallery-misc
comparison lighttpd/conf.d/cgi.conf @ 26:b003235abe75
Add lighttpd configuration files.
| author | John "Elwin" Edwards |
|---|---|
| date | Mon, 28 Oct 2013 20:33:23 -0700 |
| parents | |
| children | e8f3b7994d88 |
comparison
equal
deleted
inserted
replaced
| 25:dd72d2dd923f | 26:b003235abe75 |
|---|---|
| 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/python", | |
| 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 ####################################################################### |
