HTTPD CGI

Andrew Gatt a.gatt at btinternet.com
Mon Feb 4 13:10:29 UTC 2008


Florian Brandner wrote:
> Hi!
>
>   
>> I start httpd with:
>> httpd -f <web_root>
>> and my cgi scripts are in <web_root>/cgi-bin/ .
>>     
>
> The webroot is specified with -h. -f is for not running as a daemon.  
> Try httpd -f -h <web_root>
>
>   
Sorry, typo i meant -h

> My scripts are in <web_root>/cgi-bin/. Most of them shell scripts  
> generating plain HTML. I simply set them +x for everyone. Works  
> perfectly for me on version 1.9.0.
>
>   
All my scripts are executable for everyone. If i drop in the busybox 
1.4.1 executable it works fine, if i change it for the 1.8.2, i get the 
404 messages. I've checked and CGI is enabled in the make file.




More information about the busybox mailing list