From: short <> Date: Wed, 7 Dec 2005 02:19:19 +0000 (+0000) Subject: Report the 'lowercased URL' catcher as 404. X-Git-Url: https://git.jankratochvil.net/?p=www.jankratochvil.net.git;a=commitdiff_plain;h=ebaa241877ed4eb0c79f48ec38ba4ce6d2540651 Report the 'lowercased URL' catcher as 404. --- diff --git a/resume/resumejankratochvil.pm b/resume/resumejankratochvil.pm index fee9bf5..0776db0 100644 --- a/resume/resumejankratochvil.pm +++ b/resume/resumejankratochvil.pm @@ -25,6 +25,7 @@ use strict; use warnings; use My::Web; +use Apache2::Const qw(HTTP_NOT_FOUND); sub handler @@ -36,6 +37,7 @@ my $W=My::Web->init( "content_type"=>"text/html", "no_job"=>1, ); +$W->{"r"}->status(HTTP_NOT_FOUND); My::Web->heading();