I have a RedHat
Enterprise 3.0 system that doesn't seem to want to work. The same procedure I
followed worked on another system (RHEL 3.0) but isn't on this
one.
I have the stock Apache 2.0.46 rpm
installed and a pretty generic httpd.conf file, at least, it's generic in the
fact that it's right from the RPM with few chanegs.
The RH Perl 5.8.0 rpm is installed and perl
works fine for regular scripts and cgi's. I installed their (RedHat) mod_perl
rpm (1.99_09) which adds the file /etc/httpd/conf.d/perl.conf that's included by
the main httpd.conf.
I added the following for /perl-status as a
test:
<Location
/perl-status>
SetHandler perl-script
PerlResponseHandler Apache::Status
Order allow,deny
Allow from all
Deny from none
</Location>
SetHandler perl-script
PerlResponseHandler Apache::Status
Order allow,deny
Allow from all
Deny from none
</Location>
The browser gets a 500 page and the apache
error log has this in it:
[Wed Jan 19 14:34:18 2005] [error] [client
67.184.77.67] Can't locate object method "print" via package
"Apache::RequestRec" at
/usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi/Apache/Status.pm line
144.!
Tried uninstalling the mod_perl rpm and
reinstalling it. Same thing. Some other RPM or perl module I'm missing? Maybe I
had another required module already installed on the other system I have
working.
Oh, and the server signature
says:
<span>Apache/2.0.46 (Red Hat)
mod_perl/1.99_09 Perl/v5.8.0 DAV/2 PHP/4.3.2</span>
Any thoughts or suggestions would be most
appreciated.
Thanks,
Darren Young
University of Chicago
Graduate School of
Business