Topic: Chumby as webserver cgi w/o extension?

According to http://wiki.chumby.com/index.php/Chumby_as_a_web_server and its lighttpd.conf:

shell script in '/mnt/usb/cgi-bin/' could work with only with a .sh.

But I notice the original httpd/apache (e.g .at Chumby classic)don't need a .sh extension to run:
e.g http://forum.chumby.com/viewtopic.php?id=1060


Could anyone tell how to set lighttpd.conf to omit the extension?
BTW: does chumby support php, or Chumby has php installed?


thanks!

Re: Chumby as webserver cgi w/o extension?

You might take a look at this thread regarding php.

As to lighthttpd configuration, see this info on how lighty handles this.

Re: Chumby as webserver cgi w/o extension?

Thanks Duane! :-)

so the solution for w/o extension is add line in lighttpd.conf :

    $HTTP["url"] =~ "^/cgi-bin" {        cgi.assign = ( "" => "" )    }

which is "old cgi-bin behavior of apache", sp all the programs within /cgi-bin/ would be executable.