Re: Blank Page Returned by Mod_perl

2001-09-09 Thread Doug MacEachern

On Wed, 8 Aug 2001, Bob Foster wrote:

 Hi,
 
 I'm using mod_backhand frontend and mod_perl backend (on 127.0.0.1).  Many
 complex scripts are working fine but I'm getting behavior I don't
 understand with this simple script:
 
 #!/usr/local/bin/perl
 print Content-type: text/html\n\n;
 print This is a test\n\n;
 exit;
 
 1.  If the script is NOT handed off to the backend, the browser shows:
 This is a test
 
 2.  If the script is handed off to the backend, the browser shows a blank
 page.
 
 3.  If I go directly to the backend, the browser shows:
 Content-type: text/html This is a test 
 
 I'd like to get the same output on 2 as occurs on 1.
 
 Why is this happening?  Can anyone help?

sounds like you are missing this in httpd.conf:
PerlSendHeader On





Blank Page Returned by Mod_perl

2001-08-08 Thread Bob Foster

Hi,

I'm using mod_backhand frontend and mod_perl backend (on 127.0.0.1).  Many
complex scripts are working fine but I'm getting behavior I don't
understand with this simple script:

#!/usr/local/bin/perl
print Content-type: text/html\n\n;
print This is a test\n\n;
exit;

1.  If the script is NOT handed off to the backend, the browser shows:
This is a test

2.  If the script is handed off to the backend, the browser shows a blank
page.

3.  If I go directly to the backend, the browser shows:
Content-type: text/html This is a test 

I'd like to get the same output on 2 as occurs on 1.

Why is this happening?  Can anyone help?

Thanks!

Bob Foster