Try to add

  PerlModule Apache::Registry 

before the <Location ...> part

> I would like to use the Apache::DB as described on
> http://perl.apache.org/guide/porting.html, but I get an "Undefined
> subroutine &Apache::Registry::handler" error.  Any suggestions?
> 
> My config before trying Apache::DB :
> 
> Alias /perl/  /home/httpd/perl/
> 
> <Location /perl>
>   SetHandler perl-script
>   PerlHandler Apache::Registry
>   Options +ExecCGI
> </Location>
> 
> With this config, everything works as expected.
> --------------------------------------------------------------------------------
> 
> My config after Apache::DB :
> 
> Alias /perl/  /home/httpd/perl/
> 
> PerlSetEnv PERLDB_OPTS "NonStop=1 LineInfo=/tmp/db.out AutoTrace=1 frame=2"
> PerlModule Apache::DB
> <Location /perl>
>   PerlFixupHandler Apache::DB
>   SetHandler perl-script
>   PerlHandler Apache::Registry
>   Options ExecCGI
>   PerlSendHeader On
> </Location>
> 
> With this config, I get the following error:
> 
> [notice] Apache::DB initialized in child 11380
> [Tue Jan  4 08:38:15 2000] [error] Undefined subroutine &Apache::Registry::handler 
>called.
> 
> Dave
> 



_______________________________________________________________________
Stas Bekman    mailto:[EMAIL PROTECTED]      http://www.stason.org/stas
Perl,CGI,Apache,Linux,Web,Java,PC     http://www.stason.org/stas/TULARC
perl.apache.org    modperl.sourcegarden.org   perlmonth.com    perl.org
single o-> + single o-+ = singlesheaven    http://www.singlesheaven.com

Reply via email to