diff --git a/lib/WebGUI.pm b/lib/WebGUI.pm index a1843ebc7..87aa2268b 100644 --- a/lib/WebGUI.pm +++ b/lib/WebGUI.pm @@ -146,6 +146,7 @@ sub page { } } else { my $notFound = WebGUI::Asset->getNotFound; + WebGUI::HTTP::setStatus("404","Page Not Found"); $session{asset} = $notFound; $output = $notFound->www_view; }