Installed
lighttpd on an Ubuntu box over the weekend. Enabling CGI turned out to be a non-trivial exercise just because the
online documentation was a bit confusing. The simplest config that will work is:
server.modules += ( "mod_cgi" )
$HTTP["url"] =~ "/cgi-bin/" {
cgi.assign = ( "" => "" )
alias.url += ("/cgi-bin/" => "/some/path/to/cgi-dir/"
}
No comments:
Post a Comment