RE: Page contains no data error

2000-11-01 Thread Geoffrey Young



> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, November 01, 2000 9:33 AM
> To: [EMAIL PROTECTED]
> Subject: Page contains no data error
> 
> 
> 
> I'm moving someone else's CGIs to run under mod_perl, and 
> about 95% of the time
> they work. 
> 
> The other 5% of the time Netscape gets a "Document contains 
> no data." error and
> the web page that should have been sent to the brower is 
> written into the apache
> error log. No other error is given in the error log. 
> 
> This is running on Apache 1.3.12, perl 5.004_04, and mod_perl 1.24.
> 
> I'm beginning to suspect that mod_perl and perl arn't playing 
> well together,
> since mod_perl and apache were just upgraded. After a server 
> process gives the
> error, all mod_perl requests (such as perl-status) that hit 
> that process will
> get the same error.
> 
> Any ideas what it might be or a better way to track it down?

httpd -X will help isolate the problem by running apache as a single process

use strict and PerlWarn On - then be sure to fix any errors or warnings that
crop up.

read http://perl.apache.org/guide/porting.html

HTH

--Geoff

> 
> Steve Cochran
> 



Page contains no data error

2000-11-01 Thread Stephen A. Cochran


I'm moving someone else's CGIs to run under mod_perl, and about 95% of the time
they work. 

The other 5% of the time Netscape gets a "Document contains no data." error and
the web page that should have been sent to the brower is written into the apache
error log. No other error is given in the error log. 

This is running on Apache 1.3.12, perl 5.004_04, and mod_perl 1.24.

I'm beginning to suspect that mod_perl and perl arn't playing well together,
since mod_perl and apache were just upgraded. After a server process gives the
error, all mod_perl requests (such as perl-status) that hit that process will
get the same error.

Any ideas what it might be or a better way to track it down?

Steve Cochran