What I would really like to obtain is that the output of my cgi script (being a complete html document including headers) is not handled by any error handler. I cannot add the set-as-is hanlder to the cgi script, because that needs the perl-script handler. I suspect that using the ErrorDocument is a dead alley, because that introduces code 200.
In the meantime, I have tried everything I could think of. Right now, I'm out of ideas. How can I get the status of the cgi-script untampered to the requestor? Hope you have more inspiration ;)