Comment 6 for bug 292347

sanitycheck (gcompton) wrote :

CGI programs stopped working after upgrade of working 8.10 server to 9.04. Subsequent upgrade to 9.10 did not fix. Complete fresh 9.10 server install on server previously upgraded will still not run CGI programs.

Can reproduce problem on a second vanilla 64-bit test install of Kubuntu 9.10 (in VMWare Workstation). Lighttpd installed using aptitude, mod_cgi added to stock lighttpd.conf. "Sudo lighty-enable-mod cgi" runs successfully. Simple known-good test.cgi application copied to /usr/lib/cgi-bin/. Permissions of test.cgi set wide open for testing. Try to access http://localhost/cgi-bin/test.cgi on local machine is successful using Firefox. Access attempt using remote machine by address (e.g. gives "404 - Not Found."

Related problem: Trying to set server.bind to anything other than localhost in lighttpd.conf fails with error "Address family for hostname not supported." This problem is not present on a similarly-configured 8.04 server; there I can change server.bind to the IP4 address with no errors on service restart.