SERVER_NAME in httpd.c (busybox-1.13.3)
Cathey, Jim
jcathey at ciena.com
Wed Mar 18 20:20:44 UTC 2009
In the usual Bourne-y shell, 'env' is not required.
$ FOO=bar baz
runs baz with FOO var equal to bar. We used to do
this to get the time at various remote sites:
$ TZ=EST date
Env _is_ useful for something like:
$ env - FOO=bar baz
where all environment variables _except_ FOO
are eliminated.
-- Jim
-----Original Message-----
From: busybox-bounces at busybox.net [mailto:busybox-bounces at busybox.net]
On Behalf Of Denys Vlasenko
Sent: Wednesday, March 18, 2009 1:00 PM
To: Benedikt Hochstrasser
Cc: busybox at busybox.net
Subject: Re: SERVER_NAME in httpd.c (busybox-1.13.3)
Hi Benedikt,
sorry for the delay...
On Wed, Mar 11, 2009 at 11:04 PM, Benedikt Hochstrasser
<tictactux at gmail.com> wrote:
> an absurdly simple patch for httpd.c that provides the often-needed
> SERVER_NAME cgi environment variable.
Wouldn't
env SERVER_NAME=xyz httpd ...
do that as well?
--
vda
_______________________________________________
busybox mailing list
busybox at busybox.net
http://lists.busybox.net/mailman/listinfo/busybox
More information about the busybox
mailing list