On Thu, 2002-03-21 at 08:37, Mike Wille wrote:
> Hello all,
> 
> I apologize if this has already been answered elsewhere, I haven't been able
> to find it.
> 
> I am encountering a wierd problem where perl scripts running under a normal
> cgi-bin (ie no mod_perl) have a '0' appended to the output.  This does not
> happen to scripts run under mod_perl.  It also only happens when
> PerlSendHeader is set to on.  I thought that PerlSendHeader was a mod_perl
> only directive, but just to check I added PerlSendHeader off to the cgi-bin
> directory.  That had no effect.
> 
> Has anyone else encountered this and how did you fix it?

Are you sure this isn't an artifact of chunked encoding?  Perhaps your
browser or Apache are handling the encoding badly.

I suggest you use a tool such as ethereal to examine the data on the
wire.

-jwb

Reply via email to