[BusyBox] [PATCH][RFC] PHP/generic script support
vda
vda at port.imtp.ilyichevsk.odessa.ua
Tue Feb 17 09:27:03 UTC 2004
On Tuesday 17 February 2004 00:05, Florian Schirmer wrote:
> Hi,
>
> this patch adds PHP support to the httpd applet. Comments welcome!
>
> Regards,
> Florian
+#ifdef CONFIG_FEATURE_HTTPD_CONFIG_WITH_SCRIPT_INTERPR
+ if(*cf == '*') {
+ /* config script interpreter line move top for overwrite previous */
I don't understand this comment
@@ -1166,10 +1183,29 @@ static int sendCgi(const char *url,
*script = '\0';
if(chdir(realpath_buff) == 0) {
*script = '/';
+
+ addEnv("SCRIPT_FILENAME", "", realpath_buff);
Extra spacing
--
vda
More information about the busybox
mailing list