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 2 days ago
2 weeks 4 days ago
8 weeks 1 day ago
9 weeks 1 day ago
13 weeks 5 hours ago
13 weeks 2 days ago
15 weeks 1 day ago
15 weeks 1 day ago
15 weeks 1 day ago
16 weeks 3 days ago