lookup of "WPort::Startup::ChildInitHandler::handler" failed

lookup of "WPort::Startup::ChildInitHandler::handler" failed

am 25.10.2009 21:29:59 von Michael Wichmann

Hi, does anyone know why I get this error message in my apache log=3F

I am using the following setup:

File: /var/www/htdocs/wport/Startup.pm

package WPort::Startup;
[...]
my $server =3D Apache2::ServerUtil->server;
my $conf =3D <
PerlChildInitHandler WPort::Startup::ChildInitHandler

Alias /wport $app=5Fpath

SetHandler perl-script
Order Deny,Allow
Deny from all
Allow from .home
PerlResponseHandler WPort::Startup::Dispatch
Options -Indexes
AddDefaultCharset utf-8

EOC
$server->add=5Fconfig([split("\n", $conf)]);

# this is inside of Startup.pm...
package WPort::Startup::ChildInitHandler;
use strict;
use warnings;
use WPort;
use Apache2::Const -compile =3D> qw(OK);

sub handler {
my $r =3D shift;
my $config =3D WPort->config();
$config->loglevel('debug');
my $logger =3D WPort->logger();
$logger->add=5Fmessage({type =3D> 'debug', message =3D> "process $$ is born =
to serve"});
return Apache2::Const::OK;
}

[...]

1;

My Apache vhosts.conf includes the following:

PerlOptions +Parent
PerlSwitches -I/var/www/htdocs/wport
PerlConfigRequire "Startup.pm"

The PerlResponseHandler works as expected, sites are delivered properly.
The ChildInitHandler definitely does not work...

Thanks for your help :-)

Michael

____________________ ____________________ ______________
GRATIS für alle WEB.DE-Nutzer: Die maxdome Movie-FLAT!
Jetzt freischalten unter http://movieflat.web.de