Setup: mod_perl-1.99_11, libapreq2-2.02, Apache 2.0.47, RedHat 9.
Running Apache::Status gives the attached output. There's no trace of an error in the logs & I'm guessing that it's just an inappropriate return code.
I _think_ this might be an appropriate patch?
--- Apache/Status.pm.orig 2003-11-13 22:56:50.000000000 +0000 +++ Apache/Status.pm 2003-12-16 13:11:40.000000000 +0000 @@ -19,6 +19,7 @@ $Apache::Status::VERSION = '3.00'; # mod_perl 2.0
use constant IS_WIN32 => ($^O eq "MSWin32"); +use Apache::Const -compile => qw(OK);
our $newQ;
@@ -135,7 +136,7 @@ } $r->print("</body></html>");
- 1; + return Apache::OK; }
sub header {
Thanks Paul,
That has already been fixed in the cvs version:
Fix Apache::Status::handler to return 'Apache::OK' [Juanma Barranquero <[EMAIL PROTECTED]>]
__________________________________________________________________ Stas Bekman JAm_pH ------> Just Another mod_perl Hacker http://stason.org/ mod_perl Guide ---> http://perl.apache.org mailto:[EMAIL PROTECTED] http://use.perl.org http://apacheweek.com http://modperlbook.org http://apache.org http://ticketmaster.com
-- Reporting bugs: http://perl.apache.org/bugs/ Mail list info: http://perl.apache.org/maillist/modperl.html