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.