Turn on mod_alias and mod_cgi
To setup cgi-bin access, you have to enable both the mod_alias and mod_cgi in /etc/lighttpd/lighttpd.conf:
server.modules += ( "mod_alias" )
include "mod_cgi.conf"
Setup cgi-bin access in localhost
Lighttpd installation came with a mod_cgi.conf in /etc/lighttpd. Check that file to make sure that it has:
Recent comments
2 weeks 5 days ago
3 weeks 6 days ago
7 weeks 4 days ago
32 weeks 4 days ago
33 weeks 3 days ago
44 weeks 3 days ago
45 weeks 5 days ago
1 year 2 weeks ago
1 year 2 weeks ago
1 year 3 weeks ago