Re: setting environment variables

2005-02-04 Thread colin_e
Yes I think it's more complicated. I don't have the original setup that caused my problem, but i'm pretty sure I found that if I set a mixed-case env var (say 'MyEnv_Var') with SetEnv, in my mod_perl app I got the variable set (exists == true) but with no value, whereas using PerlSetEnv with the

Re: setting environment variables

2005-02-02 Thread Randy Kobes
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 > > PerlS

Re: setting environment variables

2005-02-02 Thread Stas Bekman
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 Se

Re: setting environment variables

2005-02-01 Thread Randy Kobes
On Tue, 1 Feb 2005, Stas Bekman wrote: > colin_e wrote: > > Geoff, > >I ran into some weirdness in this area (on a Win XP > > machine running Apache 2.0.52) that seemed to be related > > to using lowercase environment variable names. It > > looked as if PerlSetEnv uppercased the variable name

Re: setting environment variables

2005-02-01 Thread Stas Bekman
colin_e wrote: Geoff, I ran into some weirdness in this area (on a Win XP machine running Apache 2.0.52) that seemed to be related to using lowercase environment variable names. It looked as if PerlSetEnv uppercased the variable names, whereas SetEnv just ignored vars with lower case names.

Re: setting environment variables

2005-02-01 Thread colin_e
Geoff, I ran into some weirdness in this area (on a Win XP machine running Apache 2.0.52) that seemed to be related to using lowercase environment variable names. It looked as if PerlSetEnv uppercased the variable names, whereas SetEnv just ignored vars with lower case names. Sounds weird I

Re: setting environment variables

2005-01-30 Thread Stef1
Frank Wiles wrote: On Sun, 30 Jan 2005 11:47:50 +0200 "Octavian Rasnita" <[EMAIL PROTECTED]> wrote: Hi, I have tried to put the following lines in httpd.conf: SetEnv user "gigel" SetEnv pass "parola" Well, if I print the environment variables using a cgi script, they are printe

Re: setting environment variables

2005-01-30 Thread Pratik
Why not use PerlSetEnv ? -Pratik On Sun, 30 Jan 2005 12:20:08 -0600, Frank Wiles <[EMAIL PROTECTED]> wrote: > On Sun, 30 Jan 2005 11:47:50 +0200 > "Octavian Rasnita" <[EMAIL PROTECTED]> wrote: > > > Hi, > > > > I have tried to put the following lines in httpd.conf: > > > > SetEnv user "gigel" >

Re: setting environment variables

2005-01-30 Thread Frank Wiles
On Sun, 30 Jan 2005 11:47:50 +0200 "Octavian Rasnita" <[EMAIL PROTECTED]> wrote: > Hi, > > I have tried to put the following lines in httpd.conf: > > SetEnv user "gigel" > SetEnv pass "parola" > > Well, if I print the environment variables using a cgi script, they > are printed fine, but if I u

Re: setting environment variables

2005-01-30 Thread Geoffrey Young
Octavian Rasnita wrote: > Hi, > > I have tried to put the following lines in httpd.conf: > > SetEnv user "gigel" > SetEnv pass "parola" > > Well, if I print the environment variables using a cgi script, they are > printed fine, but if I use MP, their values are not printed, and I can see > jus

setting environment variables

2005-01-30 Thread Octavian Rasnita
Hi, I have tried to put the following lines in httpd.conf: SetEnv user "gigel" SetEnv pass "parola" Well, if I print the environment variables using a cgi script, they are printed fine, but if I use MP, their values are not printed, and I can see just a: user= pass= Please tell me how can I do