Add custom ErrorDocuments
This commit is contained in:
parent
8a67ef29a5
commit
5a1858cf00
|
@ -0,0 +1,18 @@
|
||||||
|
<!DOCTYPE html>
|
||||||
|
<html>
|
||||||
|
<head>
|
||||||
|
<title>System64.dev - Error</title>
|
||||||
|
<link rel="stylesheet" type="text/css" href="/err/styles.css">
|
||||||
|
<link rel="icon" type="image/x-icon" href="/err/img/favicon.png">
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<div>
|
||||||
|
<img src="/img/fail_glitch.webp" alt="Glitched looking Warning icon">
|
||||||
|
<h1>400 - Bad Request</h1>
|
||||||
|
<p>Your request cannot be processed at this time.</p>
|
||||||
|
<p class="tiny">This error has been logged, If this keeps happening contact the webmaster.</p>
|
||||||
|
<input type="button" onclick="location.href='https://system64.dev'";" value="Go home">
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</body>
|
||||||
|
</html>
|
|
@ -0,0 +1,17 @@
|
||||||
|
<!DOCTYPE html>
|
||||||
|
<html>
|
||||||
|
<head>
|
||||||
|
<title>System64.dev - Error</title>
|
||||||
|
<link rel="stylesheet" type="text/css" href="/err/styles.css">
|
||||||
|
<link rel="icon" type="image/x-icon" href="/err/img/favicon.png">
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<div>
|
||||||
|
<img src="/img/fail_glitch.webp" alt="Glitched looking Warning icon">
|
||||||
|
<h1>403 - Access Forbidden.</h1>
|
||||||
|
<p>You do not have permission to access this page.</p>
|
||||||
|
<input type="button" onclick="location.href='https://system64.dev'";" value="Go home">
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</body>
|
||||||
|
</html>
|
|
@ -0,0 +1,18 @@
|
||||||
|
<!DOCTYPE html>
|
||||||
|
<html>
|
||||||
|
<head>
|
||||||
|
<title>System64.dev - Error</title>
|
||||||
|
<link rel="stylesheet" type="text/css" href="/err/styles.css">
|
||||||
|
<link rel="icon" type="image/x-icon" href="/err/img/favicon.png">
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<div>
|
||||||
|
<img src="/img/error_glitch.webp" alt="Glitched looking Warning icon">
|
||||||
|
<h1>404 - Not Found</h1>
|
||||||
|
<p>Great and Powerful unicorns behind curtains! That page couldn't be found on the server!</p>
|
||||||
|
<p class="tiny">Expecting something here? It may have been moved or is simply missing.</p>
|
||||||
|
<input type="button" onclick="location.href='https://system64.dev'";" value="Go home">
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</body>
|
||||||
|
</html>
|
|
@ -0,0 +1,18 @@
|
||||||
|
<!DOCTYPE html>
|
||||||
|
<html>
|
||||||
|
<head>
|
||||||
|
<title>System64.dev - Error</title>
|
||||||
|
<link rel="stylesheet" type="text/css" href="/err/styles.css">
|
||||||
|
<link rel="icon" type="image/x-icon" href="/err/img/favicon.png">
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<div>
|
||||||
|
<img src="/img/error_glitch.webp" alt="Glitched looking Warning icon">
|
||||||
|
<h1>429 - Too many requests</h1>
|
||||||
|
<p>Chill down there pardner! You're being ratelimited!</p>
|
||||||
|
<p class="tiny">Ratelimits don't last very long, Check back later.</p>
|
||||||
|
<input type="button" onclick="location.href='https://system64.dev'";" value="Go home">
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</body>
|
||||||
|
</html>
|
|
@ -0,0 +1,18 @@
|
||||||
|
<!DOCTYPE html>
|
||||||
|
<html>
|
||||||
|
<head>
|
||||||
|
<title>System64.dev - Error</title>
|
||||||
|
<link rel="stylesheet" type="text/css" href="/err/styles.css">
|
||||||
|
<link rel="icon" type="image/x-icon" href="/err/img/favicon.png">
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<div>
|
||||||
|
<img src="/img/fail_glitch.webp" alt="Glitched looking Warning icon">
|
||||||
|
<h1>502 - Bad Gateway</h1>
|
||||||
|
<p>The server sent an invalid response.</p>
|
||||||
|
<p class="tiny">This error has been logged, If this keeps happening contact the webmaster.</p>
|
||||||
|
<input type="button" onclick="location.href='https://system64.dev'";" value="Go home">
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</body>
|
||||||
|
</html>
|
|
@ -0,0 +1,18 @@
|
||||||
|
<!DOCTYPE html>
|
||||||
|
<html>
|
||||||
|
<head>
|
||||||
|
<title>System64.dev - Error</title>
|
||||||
|
<link rel="stylesheet" type="text/css" href="/err/styles.css">
|
||||||
|
<link rel="icon" type="image/x-icon" href="/err/img/favicon.png">
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<div>
|
||||||
|
<img src="/img/fail_glitch.webp" alt="Glitched looking Warning icon">
|
||||||
|
<h1>503 - Service Unavailable</h1>
|
||||||
|
<p>The server is not ready to process this request.</p>
|
||||||
|
<p class="tiny">The server may be down for maintenance, or is currently overloaded. Nonetheless, This error has been recorded.</p>
|
||||||
|
<input type="button" onclick="location.href='https://system64.dev'";" value="Go home">
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</body>
|
||||||
|
</html>
|
|
@ -0,0 +1,54 @@
|
||||||
|
@import url('https://fonts.googleapis.com/css2?family=Share+Tech+Mono&display=swap');
|
||||||
|
@import url('https://fonts.googleapis.com/css2?family=Bitter:wght@600&display=swap');
|
||||||
|
|
||||||
|
html,body {
|
||||||
|
height: 100%;
|
||||||
|
}
|
||||||
|
h1 {
|
||||||
|
font-family: 'Bitter', serif;
|
||||||
|
color: white;
|
||||||
|
font-size: 50px;
|
||||||
|
text-align: center;
|
||||||
|
}
|
||||||
|
p {
|
||||||
|
font-family: 'Bitter', serif;
|
||||||
|
color: white;
|
||||||
|
text-align: center;
|
||||||
|
float: bottom;
|
||||||
|
}
|
||||||
|
p.tiny {
|
||||||
|
font-family: 'Bitter', serif;
|
||||||
|
color: white;
|
||||||
|
font-size: 12px;
|
||||||
|
text-align: center;
|
||||||
|
float: bottom;
|
||||||
|
}
|
||||||
|
body {
|
||||||
|
background: linear-gradient(45deg, rgb(0, 14, 55), rgb(2, 0, 136));
|
||||||
|
background-repeat: no-repeat;
|
||||||
|
height: 100%;
|
||||||
|
}
|
||||||
|
|
||||||
|
div {
|
||||||
|
margin-top: auto;
|
||||||
|
display: block;
|
||||||
|
}
|
||||||
|
img {
|
||||||
|
width: 20%;
|
||||||
|
display: block;
|
||||||
|
margin-left: auto;
|
||||||
|
margin-right: auto;
|
||||||
|
}
|
||||||
|
|
||||||
|
input {
|
||||||
|
-webkit-appearance: none;
|
||||||
|
margin-left: auto;
|
||||||
|
margin-right: auto;
|
||||||
|
display: block;
|
||||||
|
min-width: 250px;
|
||||||
|
background: #dad9d9;
|
||||||
|
font-size: 170%;
|
||||||
|
font-family: 'Share Tech Mono', monospace;
|
||||||
|
color: black;
|
||||||
|
box-shadow: inset -0.05em -0.05em black
|
||||||
|
}
|
Binary file not shown.
After Width: | Height: | Size: 348 KiB |
Binary file not shown.
After Width: | Height: | Size: 135 KiB |
Binary file not shown.
After Width: | Height: | Size: 458 B |
Loading…
Reference in New Issue