Re: setting environment variables

[prev] [thread] [next] [Date index for 2005/02/03]

From: Randy Kobes
Subject: Re: setting environment variables
Date: 06:26 on 03 Feb 2005
On Wed, 2 Feb 2005, Stas Bekman wrote:

> Randy Kobes wrote:
> [...]
> > So the behaviour of SetEnv changed from Apache-1 to
> > Apache-2, as far as Win32 case goes, while PerlSetEnv
> > maintained the same behaviour from mp1 to mp2.
> >
> > I suppose one could argue that we should change
> > PerlSetEnv under mp2 to lower-case things, so as
> > to be consistent with SetEnv?
>
> I think yes. I'm sure you have a patch already :)

Actually, things are a bit more complicated on mp2 than I
thought ... The example I gave earlier had 2
SetEnv/PerlSetEnv directives, differing in case, which is a
bit artificial. If there's just one such directive, then
both SetEnv/PerlSetEnv seem to behave normally (taking into
account that, on Windows, $ENV{FOO} and $ENV{foo} are the
same). However, there does seen to be a problem (with
SetEnv) when it's all lower-case
   SetEnv foo bar
in that $ENV{foo} doesn't seem to get set (irrespective of
the case of "foo". There's still a difference between
PerlSetEnv and SetEnv, but I don't see the pattern yet;
I'll keep looking.

        -- 
        best regards,
randy

(message missing)

setting environment variables
Octavian Rasnita 09:47 on 30 Jan 2005

Re: setting environment variables
Geoffrey Young 14:10 on 30 Jan 2005

Re: setting environment variables
colin_e 22:31 on 01 Feb 2005

Re: setting environment variables
Stas Bekman 03:52 on 02 Feb 2005

Re: setting environment variables
Randy Kobes 04:53 on 02 Feb 2005

Re: setting environment variables
Stas Bekman 13:18 on 02 Feb 2005

Re: setting environment variables
Frank Wiles 18:20 on 30 Jan 2005

Re: setting environment variables
Pratik 18:29 on 30 Jan 2005

Re: setting environment variables
Stef1 19:26 on 30 Jan 2005

Re: setting environment variables
Randy Kobes 06:26 on 03 Feb 2005

Re: setting environment variables
colin_e 14:28 on 04 Feb 2005

Generated at 08:54 on 14 Mar 2005 by mariachi v0.52