From: bochard Date: Sun, 27 Apr 2025 12:42:50 +0000 (+0800) Subject: added two more error files X-Git-Url: https://git.bochard.net/?a=commitdiff_plain;h=10255f8b7c09d38cba36fce253157e5a5cf492c9;p=mysite.git added two more error files --- diff --git a/.htaccess b/.htaccess index 1b5a406..a9e3f3d 100644 --- a/.htaccess +++ b/.htaccess @@ -5,4 +5,6 @@ RewriteCond %{HTTP_HOST} ^www\.tenkyuu\.dev [NC] RewriteRule ^(.*)$ http://tenkyuu.dev/$1 [R=301,L] #error pages -ErrorDocument 404 /error_docs/404.html \ No newline at end of file +ErrorDocument 404 /error_docs/404.html +ErrorDocument 403 /error_docs/403.html +ErrorDocument 500 /error_docs/500.html \ No newline at end of file diff --git a/error_docs/403.html b/error_docs/403.html new file mode 100644 index 0000000..2dc6cfc --- /dev/null +++ b/error_docs/403.html @@ -0,0 +1,17 @@ + + + + + + + + page doesn't exist!! + + +

Go back, you're not allowed here!

+

Why are you trying to access this page, huh??

+ + back to home + + + \ No newline at end of file diff --git a/error_docs/500.html b/error_docs/500.html new file mode 100644 index 0000000..5b64c8d --- /dev/null +++ b/error_docs/500.html @@ -0,0 +1,17 @@ + + + + + + + + page doesn't exist!! + + +

what the... what happened?!

+

I don't know why my server won't work, maybe a hacker tried to attack it! oh no. Can you try refreshing the page?

+ + back to home + + + \ No newline at end of file