Shannon Eric Peevey wrote:
Quoting Stas Bekman <[EMAIL PROTECTED]>:

I am using:

use Apache::Module;

if (Apache::Module::loaded('Apache::Status')) {
#  $r->log->debug("status: launching menu");
  Apache::Status->menu_item('AuthenCache' => 'AuthenCache Menu Item',
                            \&status_menu);
}


Looks right to me.

How do I go about debugging this thing?


Do all the tests pass for you? This test: t/response/TestAPI/module.pm
tests this interface. You can run it with:

t/TEST -v t/api/module.t


That's the kicker... I think that they all passed, but I will double-check in
the morning when I get back to the office. I had the same problem with
1.99_14, so wanted to double-check with a newer CVS copy.

I think I know what the problem is -- you have Apache-Module for mp1 [1]
installed and it gets loaded instead of the mp2's one. That'd be the case if you haven't built mp2 with MP_INST_APACHE2=1


[1] http://search.cpan.org/dist/Apache-Module/

--
__________________________________________________________________
Stas Bekman            JAm_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

--
Report problems: http://perl.apache.org/bugs/
Mail list info: http://perl.apache.org/maillist/modperl.html
List etiquette: http://perl.apache.org/maillist/email-etiquette.html



Reply via email to