This question about Using an extension: Answered
Is there a mod_perl context?
Is there a way for an extension to detect that it is being executed under mod_perl?
--
BryanThale - 11 Mar 2010
Yes;
$ENV{MOD_PERL}
See lib/Foswiki/Configure/UIs/CGISetup.pm for an example of usage.
--
CrawfordCurrie - 11 Mar 2010