perl-modperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Geoffrey Young <ge...@modperlcookbook.org>
Subject Re: MP2 PerlAccessHandler dir_config() error
Date Tue, 07 Jun 2005 17:01:03 GMT


John Ferrell wrote:
> I am new to mod_perl.  I am trying to test the PerlAccessHandler using the
> Apache::GateKeeper package.  However I am having trouble with the
> dir_config() method.  When I access the URL I get an error 500 and the
> apache log shows:
> 
> Can't locate object method "dir_config" via package "Apache2::RequestRec"
> at /usr/local/apache2/mod_perl/Auth/GateKeeper.pm line 16.\n

> use Apache2::Connection ();
> use Apache2::RequestRec ();
> use Apache2::RequestIO ();

you need

  use Apache2::RequestUtil

here

see the manpages for Apache2::porting and ModPerl::MethodLookup for help
finding missing packages when you know you have the method call right.

HTH

--Geoff

Mime
View raw message