Re: Any way to list what compile options were used?

2002-07-11 Thread Randy Kobes

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





Re: Any way to list what compile options were used?

2002-07-10 Thread Stas Bekman

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.

use the guide :)
http://perl.apache.org/release/docs/1.0/guide/install.html#Discovering_Whether_Some_Option_Was_Configured

__
Stas BekmanJAm_pH -- Just Another mod_perl Hacker
http://stason.org/ mod_perl Guide --- http://perl.apache.org
mailto:[EMAIL PROTECTED] http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org   http://ticketmaster.com