You're telling it to return a 404 Not Found error, and it appears to be doing that, just adding some language to it. I'm not a mod_perl expert, but could it be that mod_perl is getting the 404 header, recognizing it, and then sending it to the browser in its own words, ignoring the rest of your script's output?
Aaron B.
My Woefully Neglected Blog, where I occasionally mention Perl.
In reply to Re: Set HTTP Status code
by aaron_baugher
in thread Set HTTP Status code
by molybtek
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |