That's why I said I couldn't buy the answer. I had a form posting to a cgi script and it was throwing that error, yet other scripts were working fine. Figured it was easier to rewrite than track down the issue.
Now that I think about it it may have been that the script was producing the html page with results after processing. Not sure but it was easier to just rewrite in my case.