[Bug 292347] Re: lighttpd: can not run CGI files ('404' error messages for CGI files accessed locally)
Bug #179484 was closed in Dec 2011 https://bugs.launchpad.net/ubuntu/+source/phpmyadmin/+bug/179484 ** Changed in: lighttpd (Ubuntu) Status: Confirmed => Fix Released -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/292347 Title: lighttpd: can not run CGI files ('404' error messages for CGI files accessed locally) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/lighttpd/+bug/292347/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 292347] Re: lighttpd: can not run CGI files ('404' error messages for CGI files accessed locally)
Under "Related Problem" above I meant to say that trying to set the server.bind option at all fails with the error I listed. The configuration that works has the server.bind option commented out (the commented-out example is localhost), which is the default configuration. In that configuration the CGI scripts will run on the local machine, but not from a remote machine. The default index page, however, will display correctly on both the local and a remote machine. -- lighttpd: can not run CGI files ('404' error messages for CGI files accessed locally) https://bugs.launchpad.net/bugs/292347 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 292347] Re: lighttpd: can not run CGI files ('404' error messages for CGI files accessed locally)
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. http://192.168.20.170/cgi-bin/test.cgi) 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. -- lighttpd: can not run CGI files ('404' error messages for CGI files accessed locally) https://bugs.launchpad.net/bugs/292347 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 292347] Re: lighttpd: can not run CGI files ('404' error messages for CGI files accessed locally)
Has this bug been resolved? -- lighttpd: can not run CGI files ('404' error messages for CGI files accessed locally) https://bugs.launchpad.net/bugs/292347 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 292347] Re: lighttpd: can not run CGI files ('404' error messages for CGI files accessed locally)
i got the same problem..this should be a bug.. thanks for the info Deapesh.. deleting / modifying some lines worked for me.. here is my 10-cgi.conf file server.modules += ( "mod_cgi" ) $HTTP["remoteip"] == "127.0.0.1" { alias.url = ( "/cgi-bin/" => "/usr/lib/cgi-bin/" ) $HTTP["url"] =~ "^/cgi-bin/" { cgi.assign = ( "" => "" ) } } $HTTP["url"] =~ "^/cgi-bin/" { cgi.assign = ( "" => "" ) } cgi.assign = ( ".pl" => "/usr/bin/perl", ".php" => "/usr/bin/php-cgi", ".py" => "/usr/bin/python", ) -- lighttpd: can not run CGI files ('404' error messages for CGI files accessed locally) https://bugs.launchpad.net/bugs/292347 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 292347] Re: lighttpd: can not run CGI files ('404' error messages for CGI files accessed locally)
I can confirm this ** Changed in: lighttpd (Ubuntu) Importance: Undecided => Medium Status: New => Confirmed -- lighttpd: can not run CGI files ('404' error messages for CGI files accessed locally) https://bugs.launchpad.net/bugs/292347 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 292347] Re: lighttpd: can not run CGI files ('404' error messages for CGI files accessed locally)
Hmm.. this bug report could be merged with Bug #179484 and the title of that bug report changed to appropriately describe the error. -- lighttpd: can not run CGI files ('404' error messages for CGI files accessed locally) https://bugs.launchpad.net/bugs/292347 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 292347] Re: lighttpd: can not run CGI files ('404' error messages for CGI files accessed locally)
Seems like Ubuntu bug Bug #179484 is also due to this issue. -- lighttpd: can not run CGI files ('404' error messages for CGI files accessed locally) https://bugs.launchpad.net/bugs/292347 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs