PerlSetEnv works fine. I can't, however, put PerlPassEnv inside either
a Location or Directory block, if that makes any difference. Apache
says it is a configuration error to do so (though PerlSetEnv works
fine).
I've tried every way that I can think of to do
$r->subprocess_env('VARIABLE'), and it definitely does not work. :(
--Ryan
On Mon, 2003-06-09 at 14:04, Perrin Harkins wrote:
> On Mon, 2003-06-09 at 14:49, Ryan Muldoon wrote:
> > I tried that as well (and just re-tried). My understanding is that the
> > %ENV hash only gets updated in the fixup stage, so the mod_ssl
> > environment variables can't be accessed that way. Thanks for the
> > suggestion though!
>
> Okay. And you're certain that a simple $r->subprocess_env('VARIABLE')
> doesn't work? Have you tried setting a variable yourself as a test with
> PerlSetEnv in httpd.conf?
>
> - Perrin