From ebaa241877ed4eb0c79f48ec38ba4ce6d2540651 Mon Sep 17 00:00:00 2001 From: short <> Date: Wed, 7 Dec 2005 02:19:19 +0000 Subject: [PATCH] Report the 'lowercased URL' catcher as 404. --- resume/resumejankratochvil.pm | 2 ++ 1 file changed, 2 insertions(+) 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(); -- 1.8.3.1