diff options
Diffstat (limited to 'localwebsite/handlers/FakeRequestHandler.php')
-rw-r--r-- | localwebsite/handlers/FakeRequestHandler.php | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/localwebsite/handlers/FakeRequestHandler.php b/localwebsite/handlers/FakeRequestHandler.php deleted file mode 100644 index 09e03b8..0000000 --- a/localwebsite/handlers/FakeRequestHandler.php +++ /dev/null @@ -1,20 +0,0 @@ -<?php - -class FakeRequestHandler extends RequestHandler { - - public function apacheNotFound() { - http_response_code(404); - $uri = htmlspecialchars($_SERVER['REQUEST_URI']); - echo <<<EOF -<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN"> -<html><head> -<title>404 Not Found</title> -</head><body> -<h1>Not Found</h1> -<p>The requested URL {$uri} was not found on this server.</p> -</body></html> -EOF; - exit; - } - -}
\ No newline at end of file |