Re: env var visibility with SetHandler modperl

2002-06-03 Thread Doug MacEachern
On Tue, 4 Jun 2002, Stas Bekman wrote: > whichever way is fine with me, I was documenting the differences between > modperl and perl-script and wasn't sure how to document this. So should I > say: > > under the "modperl" handler use Perl{Set,Add}Var instead of > Perl{Set,Pass}Env. Alternative

Re: env var visibility with SetHandler modperl

2002-06-03 Thread Stas Bekman
On Mon, 3 Jun 2002, Doug MacEachern wrote: > On Sun, 2 Jun 2002, Stas Bekman wrote: > > > The %ENV part is fine, but why don't I see: EnvTest env var set in the > > config file via subprocess_env? Is it supposed be this way? > > see modperl_env.c: > /* XXX: might want to always do this re

Re: env var visibility with SetHandler modperl

2002-06-03 Thread Doug MacEachern
On Sun, 2 Jun 2002, Stas Bekman wrote: > The %ENV part is fine, but why don't I see: EnvTest env var set in the > config file via subprocess_env? Is it supposed be this way? see modperl_env.c: /* XXX: might want to always do this regardless of PerlOptions -SetupEnv */ modperl_env_confi

env var visibility with SetHandler modperl

2002-06-02 Thread Stas Bekman
Consider the following config: PerlModule Apache::PrintEnv2 SetHandler modperl PerlResponseHandler Apache::PrintEnv2 PerlSetEnv EnvTest Apache::PrintEnv2 and the handler: sub handler { my $r = shift; $r->content_type('text/plain'); #$r->subprocess_env; for