busybox httpd cgi cgi-bin

Denys Vlasenko vda.linux at googlemail.com
Tue May 6 12:42:58 UTC 2008


On Monday 05 May 2008 04:49, cheesiong wrote:
> i copy 2 files from internet. www/form-post.html and cgi-bin/test-post
> but when i submit in the form-post.html which pass to test-post i get
> 
> 404 Not Found
> 
> The requested URL was not found

run it under strace:

strace -f -o httpd.log ./busybox httpd -vvv -h www -c $PWD/www/httpd.conf

and see what file it is trying to open.

Also try the example from

http://busybox.net/cgi-bin/viewcvs.cgi/trunk/busybox/networking/httpd_post_upload.txt

(click "view" link on that page)
--
vda



More information about the busybox mailing list