added 404 status code on page not found

This commit is contained in:
JT Smith 2005-11-23 14:32:30 +00:00
parent 76b348b12b
commit 0db39c2cb1

View file

@ -146,6 +146,7 @@ sub page {
} }
} else { } else {
my $notFound = WebGUI::Asset->getNotFound; my $notFound = WebGUI::Asset->getNotFound;
WebGUI::HTTP::setStatus("404","Page Not Found");
$session{asset} = $notFound; $session{asset} = $notFound;
$output = $notFound->www_view; $output = $notFound->www_view;
} }