On Tue, 9 Jul 2002, Eric L. Brine wrote:

> Is there any easy way to check which options were used to
> compile mod_perl. Or more specifically, is there an easy way
> to check which type handlers a mod_perl build allows, if it
> allows stacked handlers, if it allows method handlers and if
> it allows perl sections? Thanks.

Assuming mod_perl-1, you can use Apache::MyConfig:

use Apache::MyConfig;
print "$_ => $Apache::MyConfig::Setup{$_}\n"
   for (keys %Apache::MyConfig::Setup);

best regards,
randy kobes


Reply via email to