if ($sth->rows == 0)
{
$r->status(404);
#$r->print("Oops, there seems to be an error.");
ModPerl::Util::exit(0);
}
I'd like to print the actual document content that comes with the 404 error but whatever i try, Apache serves some standard error document instead.
Any idea how i can print the document body right from this piece of code? In reply to mod_perl give 404 not_found with content by Jaap
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |