I want to configure mod_perl in such a way
a. files like *.cgi (but not *mod.cgi) should be run using the PerlRun,
and
b. files like *mod.cgi should run using the Apache Registry.
The settings:
FilesMatch *\.cgi$
SetHandler perl-script
PerlHandler Apache::PerlRun
Surat Singh Bhati [EMAIL PROTECTED] wrote:
Any trick to find out that a given CGI is working under
Apache::PerlRun or Apache::Registry. The $ENV{MOD_PERL} says
that script is working under mod_perl, but it does not says it
is working under Perlrun Registry.
Use caller - at the top of your