If you want to use a perl function ( Apache::server_root_relative() ) then
you have to use a Perl block.

This might work :

PerlSetEnv SERVER_ROOT \
<Perl>
Apache::server_root_relative()
</Perl>

But this seems so much easier :

<Perl>
$ENV{'SERVER_ROOT'} = Apache::server_root_relative()
</Perl>

> Maybe its too early or whatever.  How would you go about setting
> $ENV{SERVER_ROOT} without using <Perl>.  I was trying
>
> PerlSetEnv SERVER_ROOT Apache::server_root_relative()
>
> in perl.conf, but no go.  Any ideas?

Reply via email to