From a390ce4e3cdeb7e1861f7820c0059cb5369a6d9b Mon Sep 17 00:00:00 2001 From: Mael GRAMAIN Date: Tue, 4 Feb 2020 17:32:26 +0100 Subject: [PATCH] 404 --- public/index.php | 2 ++ public/srv.html | 1 + 2 files changed, 3 insertions(+) create mode 100644 public/srv.html diff --git a/public/index.php b/public/index.php index 7252954..c16b0b9 100644 --- a/public/index.php +++ b/public/index.php @@ -75,8 +75,10 @@ switch ($request) { $smarty->display('./../tpl/services.tpl'); break; default: + http_response_code(404); $smarty->assign('actualpage', "404"); $smarty->assign('pagetitle', $lang_json["notfound"]); $smarty->display('./../tpl/404.tpl'); + die(); break; } diff --git a/public/srv.html b/public/srv.html new file mode 100644 index 0000000..bca7213 --- /dev/null +++ b/public/srv.html @@ -0,0 +1 @@ +fr-srv01