summaryrefslogtreecommitdiff
path: root/util/vndb.pl
diff options
context:
space:
mode:
authorYorhel <git@yorhel.nl>2008-12-04 16:21:07 +0100
committerYorhel <git@yorhel.nl>2008-12-04 16:21:07 +0100
commit71701bc376d1fe8ff510ab3bdc08f6bfd864aa79 (patch)
tree7fa0c96f1d1f129337f9077153273de34d435b11 /util/vndb.pl
parentc43b1a40b02ff8ba5be5beeeda7f3b6d553c8085 (diff)
Made sure 404 pages actually return a 404 HTTP status
Diffstat (limited to 'util/vndb.pl')
-rwxr-xr-xutil/vndb.pl1
1 files changed, 1 insertions, 0 deletions
diff --git a/util/vndb.pl b/util/vndb.pl
index 15690e81..636de2a7 100755
--- a/util/vndb.pl
+++ b/util/vndb.pl
@@ -51,6 +51,7 @@ sub reqdone {
sub handle404 {
my $self = shift;
+ $self->resStatus(404);
$self->htmlHeader(title => 'Page Not Found');
div class => 'mainbox';
h1 'Page not found';