http://www.perlmonks.org?node_id=444045


in reply to How to get over 'premature end of script headers' in Apache?

This may seem a little obvious, but make sure that your script produces valid output no matter what the input. (I say this from first-hand experience ;-) Even if you think that you have thought of every conceivable scenario, make sure that you have a default behavior "just in case".

  • Comment on Re: How to get over 'premature end of script headers' in Apache?