--- Sreeji K Das <[EMAIL PROTECTED]> wrote: > I want
to access an ENV variable from a CGI script.
> I
> was assuming that PerlPassEnv would do the job of
> apache's PassEnv - but looks like PerlPassEnv is not
> exactly same as PassEnv in behaviour ?
> 
> Following example demonstrates my problem:
> 
<snip>

> Sorry, I could not get around to read the sources.
> Probably I'll do that over the weekend if I don't
> get
> a response :-)

ok, I looked at mp_magic_setenv() and I see that only
%ENV is set. Apparently, this is implied & looks like
I 'misread' the documentation. 

But still, I think this statement is not 'technically'
correct:
http://perl.apache.org/docs/1.0/guide/config.html#PerlSetEnv_and_PerlPassEnv
"While the Apache's SetEnv/PassEnv and mod_perl's
PerlSetEnv/PerlPassEnv apparently do the same thing,
the former doesn't happen until the fixup phase ..."

They apparently doesn't do the same thing :-) 

Sreeji

________________________________________________________________________
Want to chat instantly with your online friends?  Get the FREE Yahoo!
Messenger http://mail.messenger.yahoo.co.uk

-- 
Reporting bugs: http://perl.apache.org/bugs/
Mail list info: http://perl.apache.org/maillist/modperl.html

Reply via email to