[BusyBox] added httpd CGI features
Vladimir N. Oleynik
dzo at simtreas.ru
Mon Jan 19 09:32:13 UTC 2004
Peter,
> The two features are ExecPerm and DefaultDir. ExecPerm allows any executable
> file outside the cgi-bin directory to be executed as a CGI program.
Hmm. Its strange feature ...
> DefaultDir allows the execution of an index.cgi program in place of an
> index.html file.
I think, may be make new httpd.cfg option
L:/path/index.html
or
L:/path/index.cgi
or
L:/path/+
or
L:/path/-
1 - as current version
2 - as your variant
3 - internal listing (not present from current)
4 - protect listing
> I apologise in advance for the quality of the code; C isn't my first
> language ;-)
+ char tempfilename[strlen(url)+10]; // i like static
variables!
Heh. But, its not static.
+ memset(tempfilename, '\0', sizeof(tempfilename));
Its not require.
--w
vodz
More information about the busybox
mailing list