As I posted elsewhere, I tried MT under mod_perl2 using the PerlRun and Registry handlers. I used libapreq2-dev. However, I'm seeing a lot of problems.
First, the usage of Apache::Cookie->fetch seems to want to be passed $r.
App.pm:
sub cookies {
my $app = shift;
my $class = $ENV{MOD_PERL} ? 'Apache::Cookie' : 'CGI::Cookie';
eval "use $class;";
$class->fetch($app->{apache}); # need $r
}
(there should be a ?: there to make sure it only passes $r if we're under mod_perl)
Once that's out of the way, the next problem in App.pm line 61 seems to be looking for a send_http_header function in mod_perl2, which doesn't seem to exist anymore.
Maybe Apache::Compat might help, I'll look into that next. But in the meantime, there's something to look at for those of us that want to run under mod_perl2.
Sean