$status = $_SERVER['REDIRECT_STATUS']; if ($status=="400") { $title = "400 Bad Request"; $h2 = "Error 400 - Bad Request"; $text = "
The HTTP error 400, bad request, means that the Web server received a request that it could not process, because it is not configured to do so, or because it expects certain headers or parameters in the request that are not present.
"; $h2color = "#FFFFFF"; $h2bg = "#000000"; } if ($status=="401") { $title = "401 Unauthorized"; $h2 = "Error 401 - Unauthorized"; $text = "You are unauthorized to access this resource. Please be sure your access information (i.e. username and password) are correct.
"; $h2color = "#FFFFFF"; $h2bg = "green"; } if ($status=="403") { $title = "403 Forbidden"; $h2 = "Error 403 - Forbidden"; $text = "You are forbidden from accessing " . $_SERVER['REQUEST_URI'] . " on this server.
The requested URL " . $_SERVER['REQUEST_URI'] . " could not be found on this server.