HTTPD feature request

Peter Korsgaard jacmet at uclibc.org
Tue Feb 16 15:51:56 UTC 2010


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

 Peter> Hi,
 Peter> having bb last source i'm trying to get error and index pages to work
 Peter> also with cgi.

 Peter> The source stated that "Error pages are to be static files (no CGI or
 Peter> script)." but i need to do CGI also on error pages and the default
 Peter> index page.

bb httpd will use /cgi-bin/index.cgi if index.html doesn't exist. Error
pages could probably be made to work with cgi if you change the
send_file_and_exit() call in send_headers() to send_cgi_and_exit().

-- 
Bye, Peter Korsgaard


More information about the busybox mailing list