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

Reply via email to