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
8 weeks 6 days ago
9 weeks 5 days ago
20 weeks 4 days ago
22 weeks 14 hours ago
30 weeks 5 days ago
31 weeks 7 hours ago
31 weeks 6 days ago
32 weeks 5 days ago
32 weeks 6 days ago
33 weeks 7 hours ago