On Mon, 2004-03-15 at 08:11, Jean-Michel Hiver wrote:
> The following CGI script:
> 
>     print <<EOF;
>     Status: 404 Not Found
>     Content-Type: text/plain
> 
>     Document not found
>     EOF
[...]
> i.e. the Apache ErrorDocument is appended to the response.

Didn't Geoff already answer this question for you?  You can't do this in
this way with PerlSendHeader turned on.  I'm not sure if your goal here
is to send your own custom 404 error or to have apache pick it up and
send the ErrorDocument without your content.  If you explain what you're
trying to accomplish, maybe we can suggest a better way.

- Perrin


-- 
Report problems: http://perl.apache.org/bugs/
Mail list info: http://perl.apache.org/maillist/modperl.html
List etiquette: http://perl.apache.org/maillist/email-etiquette.html

Reply via email to