A collection of single-file HTML error pages (400, 401, 403, 404, 503) styled to resemble a command-line terminal interface. Each page uses pure HTML, CSS, and JavaScript to display the relevant error information with a dynamic typing effect.
Simulates processing a request with invalid syntax.
🔗 View
Simulates attempting to access a resource without proper authentication credentials.
🔗 View
Simulates attempting to access a resource for which the authenticated user lacks permissions.
🔗 View
Simulates trying to access a resource or file that does not exist on the server.
🔗 View
Simulates a situation where the server is temporarily unable to handle the request (e.g., overload, maintenance).
🔗 View
.html file (no external dependencies).400.html - Bad Request401.html - Unauthorized403.html - Forbidden404.html - Not Found503.html - Service UnavailableREADME.md - This fileConfigure: Modify your web server configuration to use these files as custom error documents. The exact method depends on your server software:
ErrorDocument directive in your .htaccess file or server configuration:
ErrorDocument 400 /path/to/your/400.html
ErrorDocument 401 /path/to/your/401.html
ErrorDocument 403 /path/to/your/403.html
ErrorDocument 404 /path/to/your/404.html
ErrorDocument 503 /path/to/your/503.html
error_page directive within your server or location block:
server {
# ... other configurations ...
error_page 400 /400.html;
location = /400.html {
root /path/to/your/error_pages; # Path where you uploaded the files
internal;
}
error_page 401 /401.html;
location = /401.html {
root /path/to/your/error_pages;
internal;
}
error_page 403 /403.html;
location = /403.html {
root /path/to/your/error_pages;
internal;
}
error_page 404 /404.html;
location = /404.html {
root /path/to/your/error_pages;
internal;
}
error_page 503 /503.html;
location = /503.html {
root /path/to/your/error_pages;
internal;
}
}
(Ensure the root path in the location blocks points to the directory containing your HTML files)
You can easily modify each error page:
lines array within the <script> block at the bottom of the HTML file. Change the text and type (which corresponds to CSS classes like prompt, command, error, info, path, header, warning) for each segment of the output.typingSpeed variable (in milliseconds) in the <script> block. Lower values mean faster typing.<style> block in the <head> section of the HTML file.