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" > > 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 <[EMAIL PROTECTED]> > http://www.wiles.org > --------------------------------- > > -- http://pratik.syslock.org