feat: added httpd error directory configuration to dotfiles
This commit is contained in:
parent
d833a91512
commit
0aff829c0f
6 changed files with 391 additions and 0 deletions
1
.stowrc
1
.stowrc
|
|
@ -3,3 +3,4 @@
|
|||
--ignore='^slurm$'
|
||||
--ignore='^tsdproxy$'
|
||||
--ignore='^vimix$'
|
||||
--ignore='^httpd$'
|
||||
|
|
|
|||
78
httpd/error/400.html
Normal file
78
httpd/error/400.html
Normal file
|
|
@ -0,0 +1,78 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
<title>400 - Bad Request</title>
|
||||
<style>
|
||||
:root {
|
||||
--bg: #1a1b26;
|
||||
--fg: #c0caf5;
|
||||
--accent: #7aa2f7;
|
||||
--secondary: #bb9af7;
|
||||
--error: #f7768e;
|
||||
--muted: #565f89;
|
||||
}
|
||||
* {
|
||||
box-sizing: border-box;
|
||||
}
|
||||
body {
|
||||
margin: 0;
|
||||
height: 100vh;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
background-color: var(--bg);
|
||||
color: var(--fg);
|
||||
font-family: 'Inter', 'Segoe UI', system-ui, sans-serif;
|
||||
text-align: center;
|
||||
}
|
||||
h1 {
|
||||
font-size: 8rem;
|
||||
margin: 0;
|
||||
color: var(--error);
|
||||
font-weight: 700;
|
||||
}
|
||||
h2 {
|
||||
margin: 0.5rem 0 1rem;
|
||||
font-weight: 400;
|
||||
color: var(--secondary);
|
||||
}
|
||||
p {
|
||||
color: var(--muted);
|
||||
margin-bottom: 2rem;
|
||||
}
|
||||
footer {
|
||||
position: absolute;
|
||||
bottom: 1rem;
|
||||
font-size: 0.8rem;
|
||||
color: var(--muted);
|
||||
}
|
||||
a {
|
||||
color: inherit;
|
||||
text-decoration: none;
|
||||
}
|
||||
.button-link {
|
||||
color: var(--accent);
|
||||
text-decoration: none;
|
||||
font-weight: 500;
|
||||
border: 1px solid var(--accent);
|
||||
border-radius: 8px;
|
||||
padding: 0.6rem 1.2rem;
|
||||
transition: all 0.2s ease-in-out;
|
||||
}
|
||||
.button-link:hover {
|
||||
background-color: var(--accent);
|
||||
color: var(--bg);
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<h1>400</h1>
|
||||
<h2>Bad Request</h2>
|
||||
<p>Your request was a bit scrambled. Please check and try again.</p>
|
||||
<a class="button-link" href="javascript:history.back()">Go Back</a>
|
||||
<footer><a href="https://cpatino.com" target="_blank" rel="noopener">@cpatino</a></footer>
|
||||
</body>
|
||||
</html>
|
||||
78
httpd/error/401.html
Normal file
78
httpd/error/401.html
Normal file
|
|
@ -0,0 +1,78 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
<title>401 - Unauthorized</title>
|
||||
<style>
|
||||
:root {
|
||||
--bg: #1a1b26;
|
||||
--fg: #c0caf5;
|
||||
--accent: #7aa2f7;
|
||||
--secondary: #bb9af7;
|
||||
--error: #f7768e;
|
||||
--muted: #565f89;
|
||||
}
|
||||
* {
|
||||
box-sizing: border-box;
|
||||
}
|
||||
body {
|
||||
margin: 0;
|
||||
height: 100vh;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
background-color: var(--bg);
|
||||
color: var(--fg);
|
||||
font-family: 'Inter', 'Segoe UI', system-ui, sans-serif;
|
||||
text-align: center;
|
||||
}
|
||||
h1 {
|
||||
font-size: 8rem;
|
||||
margin: 0;
|
||||
color: var(--error);
|
||||
font-weight: 700;
|
||||
}
|
||||
h2 {
|
||||
margin: 0.5rem 0 1rem;
|
||||
font-weight: 400;
|
||||
color: var(--secondary);
|
||||
}
|
||||
p {
|
||||
color: var(--muted);
|
||||
margin-bottom: 2rem;
|
||||
}
|
||||
footer {
|
||||
position: absolute;
|
||||
bottom: 1rem;
|
||||
font-size: 0.8rem;
|
||||
color: var(--muted);
|
||||
}
|
||||
a {
|
||||
color: inherit;
|
||||
text-decoration: none;
|
||||
}
|
||||
.button-link {
|
||||
color: var(--accent);
|
||||
text-decoration: none;
|
||||
font-weight: 500;
|
||||
border: 1px solid var(--accent);
|
||||
border-radius: 8px;
|
||||
padding: 0.6rem 1.2rem;
|
||||
transition: all 0.2s ease-in-out;
|
||||
}
|
||||
.button-link:hover {
|
||||
background-color: var(--accent);
|
||||
color: var(--bg);
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<h1>401</h1>
|
||||
<h2>Unauthorized</h2>
|
||||
<p>You need to log in to access this neon alley.</p>
|
||||
<a class="button-link" href="javascript:history.back()">Go Back</a>
|
||||
<footer><a href="https://cpatino.com" target="_blank" rel="noopener">@cpatino</a></footer>
|
||||
</body>
|
||||
</html>
|
||||
78
httpd/error/403.html
Normal file
78
httpd/error/403.html
Normal file
|
|
@ -0,0 +1,78 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
<title>403 - Forbidden</title>
|
||||
<style>
|
||||
:root {
|
||||
--bg: #1a1b26;
|
||||
--fg: #c0caf5;
|
||||
--accent: #7aa2f7;
|
||||
--secondary: #bb9af7;
|
||||
--error: #f7768e;
|
||||
--muted: #565f89;
|
||||
}
|
||||
* {
|
||||
box-sizing: border-box;
|
||||
}
|
||||
body {
|
||||
margin: 0;
|
||||
height: 100vh;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
background-color: var(--bg);
|
||||
color: var(--fg);
|
||||
font-family: 'Inter', 'Segoe UI', system-ui, sans-serif;
|
||||
text-align: center;
|
||||
}
|
||||
h1 {
|
||||
font-size: 8rem;
|
||||
margin: 0;
|
||||
color: var(--error);
|
||||
font-weight: 700;
|
||||
}
|
||||
h2 {
|
||||
margin: 0.5rem 0 1rem;
|
||||
font-weight: 400;
|
||||
color: var(--secondary);
|
||||
}
|
||||
p {
|
||||
color: var(--muted);
|
||||
margin-bottom: 2rem;
|
||||
}
|
||||
footer {
|
||||
position: absolute;
|
||||
bottom: 1rem;
|
||||
font-size: 0.8rem;
|
||||
color: var(--muted);
|
||||
}
|
||||
a {
|
||||
color: inherit;
|
||||
text-decoration: none;
|
||||
}
|
||||
.button-link {
|
||||
color: var(--accent);
|
||||
text-decoration: none;
|
||||
font-weight: 500;
|
||||
border: 1px solid var(--accent);
|
||||
border-radius: 8px;
|
||||
padding: 0.6rem 1.2rem;
|
||||
transition: all 0.2s ease-in-out;
|
||||
}
|
||||
.button-link:hover {
|
||||
background-color: var(--accent);
|
||||
color: var(--bg);
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<h1>403</h1>
|
||||
<h2>Forbidden</h2>
|
||||
<p>You don’t have permission to enter this sector.</p>
|
||||
<a class="button-link" href="javascript:history.back()">Go Back</a>
|
||||
<footer><a href="https://cpatino.com" target="_blank" rel="noopener">@cpatino</a></footer>
|
||||
</body>
|
||||
</html>
|
||||
78
httpd/error/404.html
Normal file
78
httpd/error/404.html
Normal file
|
|
@ -0,0 +1,78 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
<title>404 - Not Found</title>
|
||||
<style>
|
||||
:root {
|
||||
--bg: #1a1b26;
|
||||
--fg: #c0caf5;
|
||||
--accent: #7aa2f7;
|
||||
--secondary: #bb9af7;
|
||||
--error: #f7768e;
|
||||
--muted: #565f89;
|
||||
}
|
||||
* {
|
||||
box-sizing: border-box;
|
||||
}
|
||||
body {
|
||||
margin: 0;
|
||||
height: 100vh;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
background-color: var(--bg);
|
||||
color: var(--fg);
|
||||
font-family: 'Inter', 'Segoe UI', system-ui, sans-serif;
|
||||
text-align: center;
|
||||
}
|
||||
h1 {
|
||||
font-size: 8rem;
|
||||
margin: 0;
|
||||
color: var(--error);
|
||||
font-weight: 700;
|
||||
}
|
||||
h2 {
|
||||
margin: 0.5rem 0 1rem;
|
||||
font-weight: 400;
|
||||
color: var(--secondary);
|
||||
}
|
||||
p {
|
||||
color: var(--muted);
|
||||
margin-bottom: 2rem;
|
||||
}
|
||||
footer {
|
||||
position: absolute;
|
||||
bottom: 1rem;
|
||||
font-size: 0.8rem;
|
||||
color: var(--muted);
|
||||
}
|
||||
a {
|
||||
color: inherit;
|
||||
text-decoration: none;
|
||||
}
|
||||
.button-link {
|
||||
color: var(--accent);
|
||||
text-decoration: none;
|
||||
font-weight: 500;
|
||||
border: 1px solid var(--accent);
|
||||
border-radius: 8px;
|
||||
padding: 0.6rem 1.2rem;
|
||||
transition: all 0.2s ease-in-out;
|
||||
}
|
||||
.button-link:hover {
|
||||
background-color: var(--accent);
|
||||
color: var(--bg);
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<h1>404</h1>
|
||||
<h2>Page Not Found</h2>
|
||||
<p>Looks like you took a wrong turn in the neon jungle.</p>
|
||||
<a class="button-link" href="javascript:history.back()">Go Back</a>
|
||||
<footer><a href="https://cpatino.com" target="_blank" rel="noopener">@cpatino</a></footer>
|
||||
</body>
|
||||
</html>
|
||||
78
httpd/error/500.html
Normal file
78
httpd/error/500.html
Normal file
|
|
@ -0,0 +1,78 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
<title>500 - Internal Server Error</title>
|
||||
<style>
|
||||
:root {
|
||||
--bg: #1a1b26;
|
||||
--fg: #c0caf5;
|
||||
--accent: #7aa2f7;
|
||||
--secondary: #bb9af7;
|
||||
--error: #f7768e;
|
||||
--muted: #565f89;
|
||||
}
|
||||
* {
|
||||
box-sizing: border-box;
|
||||
}
|
||||
body {
|
||||
margin: 0;
|
||||
height: 100vh;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
background-color: var(--bg);
|
||||
color: var(--fg);
|
||||
font-family: 'Inter', 'Segoe UI', system-ui, sans-serif;
|
||||
text-align: center;
|
||||
}
|
||||
h1 {
|
||||
font-size: 8rem;
|
||||
margin: 0;
|
||||
color: var(--error);
|
||||
font-weight: 700;
|
||||
}
|
||||
h2 {
|
||||
margin: 0.5rem 0 1rem;
|
||||
font-weight: 400;
|
||||
color: var(--secondary);
|
||||
}
|
||||
p {
|
||||
color: var(--muted);
|
||||
margin-bottom: 2rem;
|
||||
}
|
||||
footer {
|
||||
position: absolute;
|
||||
bottom: 1rem;
|
||||
font-size: 0.8rem;
|
||||
color: var(--muted);
|
||||
}
|
||||
a {
|
||||
color: inherit;
|
||||
text-decoration: none;
|
||||
}
|
||||
.button-link {
|
||||
color: var(--accent);
|
||||
text-decoration: none;
|
||||
font-weight: 500;
|
||||
border: 1px solid var(--accent);
|
||||
border-radius: 8px;
|
||||
padding: 0.6rem 1.2rem;
|
||||
transition: all 0.2s ease-in-out;
|
||||
}
|
||||
.button-link:hover {
|
||||
background-color: var(--accent);
|
||||
color: var(--bg);
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<h1>500</h1>
|
||||
<h2>Internal Server Error</h2>
|
||||
<p>Something glitched in the matrix. Please try again later.</p>
|
||||
<a class="button-link" href="javascript:history.back()">Go Back</a>
|
||||
<footer><a href="https://cpatino.com" target="_blank" rel="noopener">@cpatino</a></footer>
|
||||
</body>
|
||||
</html>
|
||||
Loading…
Add table
Add a link
Reference in a new issue