Stas Bekman wrote:
Paul Flinders wrote:
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.
Paul, you've just spotted two methods that we have forgotten to port
to mp2.
Ah, good (in the sense that it wasn't something that I missed
in the documentation).
Actually PageKit doesn't seem to use the values - will have a more
detailed look after the W/E and check on the PageKit mailing lists.
I definitely think that Apache::compat (and Apache::porting) should include
these methods.
--
Reporting bugs: http://perl.apache.org/bugs/
Mail list info: http://perl.apache.org/maillist/modperl.html