HTTPD feature request

Peter Korsgaard jacmet at uclibc.org
Tue Feb 16 16:18:05 UTC 2010


>>>>> "Peter" == Peter Müller <peter at ati.es> writes:

Hi,

 Peter> Yes, i have that done now with a "/cgi-bin/e404.cgi" patch. Not
 Peter> clean, but works for me. Thanks!

We could probably do something like:

#if ENABLE_FEATURE_HTTPD_CGI
    if (strncmp(, "cgi-bin/", 8) == 0)
       return send_cgi_and_exit( .. );
    else
#endif
       return send_file_and_exit( .. );

-- 
Bye, Peter Korsgaard


More information about the busybox mailing list