I'm currently investigating using Apache::PageKit to develop a web application.
I'm more-or-less constrained to use Apache 2 by the environmental requirements for the project which means mod_perl2 and libapreq2. I realise that this is something of an experimental brew, especially as PageKit doesn't claim to support mod_perl2 yet.
At present I'm not getting much further than the start-up code. The sequence
my $s = Apache->server;
my $uid = $s->uid; my $gid = $s->gid;
gives me
Syntax error at /etc/httpd/conf.d/perl.conf:66 Can't locate object method "uid" via package "Apache::Server" at /usr/lib/perl5/site_perl/5.8.0/Apache/PageKit.pm line 61.
Neither Apache::compat, Apache::porting nor the migration documentation seem to have any hints.
How do I accomplish the above in mod_perl2?
(this is with Apache 2.0.47, perl 5.8.0, mod_perl 1.99_11 and Apache::PageKit 1.12)
-- Reporting bugs: http://perl.apache.org/bugs/ Mail list info: http://perl.apache.org/maillist/modperl.html