HTTPD feature request

Peter Müller peter at ati.es
Tue Feb 16 16:10:36 UTC 2010


"Peter Korsgaard" <jacmet at uclibc.org> escribió:

>>>>>> "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
>
Yes, i have that done now with a "/cgi-bin/e404.cgi" patch. Not clean,  
but works for me. Thanks!





More information about the busybox mailing list