]> git.bochard.net Git - mysite.git/commitdiff
added error_docs directory
authorbochard <mail@tenkyuu.dev>
Sun, 27 Apr 2025 12:12:58 +0000 (20:12 +0800)
committerbochard <mail@tenkyuu.dev>
Sun, 27 Apr 2025 12:12:58 +0000 (20:12 +0800)
.htaccess
error_docs/404.html [new file with mode: 0644]

index 95eed6ade9e1246588b751a554d71e0dd2e34021..1b5a40645d34ef52dd8199d15382054dbc6ce3e3 100644 (file)
--- a/.htaccess
+++ b/.htaccess
@@ -5,4 +5,4 @@ RewriteCond %{HTTP_HOST} ^www\.tenkyuu\.dev [NC]
 RewriteRule ^(.*)$ http://tenkyuu.dev/$1 [R=301,L]
 
 #error pages
-ErrorDocument 404 /error_docs/not_found.html
\ No newline at end of file
+ErrorDocument 404 /error_docs/404.html
\ No newline at end of file
diff --git a/error_docs/404.html b/error_docs/404.html
new file mode 100644 (file)
index 0000000..87d4709
--- /dev/null
@@ -0,0 +1,17 @@
+<!DOCTYPE html>
+<html lang="en">
+<head>
+  <meta charset="utf-8">
+  <meta http-equiv="x-ua-compatible" content="ie=edge">
+  <meta name="viewport" content="width=device-width, initial-scale=1.0, shrink-to-fit=no">
+  <meta name="description" content="this page cannot be located on my server.">
+  <title>page doesn't exist!!</title>
+</head>
+<body background="/images/backgrounds/backgroundclouds.gif">
+  <h1>I can't find that page :&lt;</h1>
+  <p>There's no such link like that on my site. are you looking for easter eggs?!</p>
+  <a href="/">
+    <img src="/images/gifs/backhomepage.gif" width="300" alt="back to home">
+  </a>
+</body>
+</html>
\ No newline at end of file