Re: setting environment variables

[prev] [thread] [next] [Date index for 2005/01/30]

From: Pratik
Subject: Re: setting environment variables
Date: 18:29 on 30 Jan 2005
Why not use PerlSetEnv ?

-Pratik


On Sun, 30 Jan 2005 12:20:08 -0600, Frank Wiles <frank@xxxxx.xxx> wrote:
> On Sun, 30 Jan 2005 11:47:50 +0200
> "Octavian Rasnita" <orasnita@xxx.xx> 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 just a:
> >
> > user=
> > pass=
> >
> > Please tell me how can I do this to work fine with ModPerl also.
> 
>   Are you using MP1 or MP2?  If you're using MP2 in your configuration
>   are you doing:
> 
>   SetHandler perl-script
> 
>   or
> 
>   SetHandler modperl
> 
>   If you're doing the second one %ENV is not populated and the easiest
>   way to fix it is just to switch to using 'perl-script'.
> 
>   If you're using MP1 then Geoffrey is right that this is probably a
>   bug.
> 
>  ---------------------------------
>    Frank Wiles <frank@xxxxx.xxx>
>    http://www.wiles.org
>  ---------------------------------
> 
> 


        -- 
        http://pratik.syslock.org

(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