Thanks for all the info.

Normally I set the $CGI::HEADERS_ONCE variable in CGI.pm in each of my CGI
scripts but recently switched that behavior to actually modify the CGI.pm
module directly. I also recently installed ActivePerl for Solaris instead of
compiling Perl myself and forgot to reset this.

I think I'll switch back to my original ways.

This seems to have corrected the file download issue. Now I just need to do
more CGI to MOD_Perl reading.

Thanks for the help Rafiq & Gareth. You both hit the nail on the head.

Kind regards,
Trevor Joerges


----- Original Message -----
From: "Rafiq Ismail (ADMIN)" <[EMAIL PROTECTED]>
To: "Trevor Joerges [SendMIME Software]" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Thursday, November 21, 2002 1:22 PM
Subject: Re: Newbie: Why does my script prompt to be downloaded
intermittantly?


> On Thu, 21 Nov 2002, Trevor Joerges [SendMIME Software] wrote:
> > behavior is intermittent. I've read the mod_perl pitfalls and the
> > "PerlSendHeader" is set to "on" in my config file. Is there something
else I
> > need to add or remove?
> Hi Treveor,
>
> I've seen three fixes to this sort of problem in the past, so you might
> want to see if any of the following apply to your case:
>
> 1) Changing Browser - Galeon had me testing for days, when I could
> clearly see that I was getting the correct header, via telnet to the port.
> See below.
>
> 2) Turning PerlSendHeader Off and sending your own headers.
> The problem was probably somewhere else, but sending my own
> headers fixed it.  Then again, the problem might not have been elsewhere.
>
> 3) Make sure you're not sending your header twice.  With
> PerlSendHeader being on or off, plus a code segment sending a header/or
> some gibber elsewhere, or even a stray 'print' to STDOUT from some other
> place, before the header is dispatched.
>
> I've had header trouble a couple of time and have often found telneting to
> the vhost to be a very handy detector of what might be going wrong.  If
> that fails then paracetamol is usually a good cure.
>
> My late night 0.02 EU.
>
> R.
>
>


Reply via email to