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 value pair into the response header, I
thought it should show up as an 'HTTP_' prefixed value
in %ENV, like HTTP_MY_USER,

 as in ...$r->headers_out->set('MY_USER' =>
> 'some_value');

 but I get nothing.

 Ray


 

--- "Philip M. Gollucci" <[EMAIL PROTECTED]> wrote:

> 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' =>
> 'some_value');
> >  $r->headers_out->set('MY_USER' =>
> $ticket{'user'});
> Is this handler runining under
> SetHandler modperl
> 
> or
> 
> SetHandler perl-script.
> 
> You need the latter.
> 
> -- 
> END
>
------------------------------------------------------------
>      What doesn't kill us can only make us stronger.
>                  Nothing is impossible.
>                               
> Philip M. Gollucci ([EMAIL PROTECTED])
> 301.254.5198
> Consultant / http://p6m7g8.net/Resume/
> Senior Developer / Liquidity Services, Inc.
>    http://www.liquidityservicesinc.com
>         http://www.liquidation.com
>         http://www.uksurplus.com
>         http://www.govliquidation.com
>         http://www.gowholesale.com
> 

Reply via email to