CGI scripts exection

Denys Vlasenko vda.linux at googlemail.com
Fri Jun 13 20:37:18 UTC 2008


On Friday 13 June 2008 22:00, ccostin wrote:
> Hello
> 
> What is the minimal configuration for httpd.conf required by busybox
> httpd to run simple CGI scripts ?

None, I think.

> For this are necessary any special environment exported variables ?
> 
> When I try to load simple bourne shell scripts, Firefox  ask me to
> save them on disk.
> 
> Command line for busybox is
> busybox httpd -h /var/www/

I run mine with "httpd -vvv -i -h /.1/video" and it seems to work
(I have a CGI which creates dir listings).

> and shell scripts are  contained in /var/www/cgi-bin/, and have a+x
> execution bits.

You possibly have not enabled everything you need in .config
when you built busybox.
--
vda



More information about the busybox mailing list