[prev in list] [next in list] [prev in thread] [next in thread] 

List:       busybox
Subject:    Re: HTTPD feature request
From:       "Peter =?utf-8?b?TcO8bGxlcg==?=" <peter () ati ! es>
Date:       2010-02-16 16:41:43
Message-ID: 20100216174143.18931xjsv4arzidc () mail ! ati ! es
[Download RAW message or body]

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

>>>>>> "Peter" == Peter Müller <peter@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( .. );
>

I don't really like all that cgi-bin stuff.

httpd config may allow this:

I:index.sh
E404:e404.sh
*.sh:/bin/sh

index.sh is ok and get executed, but e404.sh won't.
I need this to send a 307 status code when the page is not found.

Thank you.

_______________________________________________
busybox mailing list
busybox@busybox.net
http://lists.busybox.net/mailman/listinfo/busybox

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic