Re: Setting %ENV from modperl handler

2005-09-25 Thread Jie Gao
On Sun, 25 Sep 2005, Ray Licon wrote: > Date: Sun, 25 Sep 2005 02:52:59 -0700 (PDT) > From: Ray Licon <[EMAIL PROTECTED]> > To: modperl@perl.apache.org > Subject: Setting %ENV from modperl handler > > Hello, > I'm trying to put a value I obtain from a m

Re: Setting %ENV from modperl handler

2005-09-25 Thread Ray Licon
I'm using a PerlAccessHandler to protect pages. When the page is initially accessed, it triggers an authentication process. The PerlAccessHandler calls a content handler which gets Database values checks them, does some cookie stuff and then finally allows access to the original page. What I want

Re: Setting %ENV from modperl handler

2005-09-25 Thread Frank Wiles
On Sun, 25 Sep 2005 13:53:49 -0700 (PDT) Ray Licon <[EMAIL PROTECTED]> wrote: > Philip, > > I am using the handler directive: > > SetHandler perl-script > > But, I'm still not able to place a value into cgi from > my handler that is available to a perl cgi script by > examining the %ENV conten

Re: Setting %ENV from modperl handler

2005-09-25 Thread Philip M. Gollucci
Ray Licon wrote: Philip, I am using the handler directive: SetHandler perl-script But, I'm still not able to place a value into cgi from my handler that is available to a perl cgi script by examining the %ENV contents. I'm not even certin which of the calls I've attempted 'should' work. By ad

Re: Setting %ENV from modperl handler

2005-09-25 Thread Ray Licon
Philip, I am using the handler directive: SetHandler perl-script But, I'm still not able to place a value into cgi from my handler that is available to a perl cgi script by examining the %ENV contents. I'm not even certin which of the calls I've attempted 'should' work. By adding some name valu

Re: Setting %ENV from modperl handler

2005-09-25 Thread Philip M. Gollucci
Ray Licon wrote: Hello, I'm trying to put a value I obtain from a modperl handler script into the environmental hash %ENV available in the cgi perl script, eventually called via the handler. I've tried calls: $r->subprocess_env->{'MY_USER'} = 'some_value'; $r->err_headers_out->add('MY_USER'

Setting %ENV from modperl handler

2005-09-25 Thread Ray Licon
Hello, I'm trying to put a value I obtain from a modperl handler script into the environmental hash %ENV available in the cgi perl script, eventually called via the handler. I've tried calls: $r->subprocess_env->{'MY_USER'} = 'some_value'; $r->err_headers_out->add('MY_USER' => 'some_value');