I have something like this:

PerlModule Module

<VirtualHost ...>
PerlSetVar abc def
<Perl >
Module->start;
</Perl>
</VirtualHost>

and in Module.pm

use Apache::ServerUtil ()

...

sub startup
{
   my $value = Apache->server->dir_config("abc");
...
}


and lo and behold - $value is undef ! However, if I take the PerlSetVar and move it outside the VirtualHost, then $value is "def".


I'm using 2.0.47 + 1.99_10, only because I have rpms build for them (for RH9). Has this problem been noticed and fixed in the latest release? I don't see any mention of it in the mail archives.

-Paul Weiss

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



Reply via email to