From 9866f7e3b975827c4f79fbc9e32df505e8cd4beb Mon Sep 17 00:00:00 2001 From: CommanderRedYT Date: Tue, 10 Nov 2020 17:09:17 +0100 Subject: [PATCH] Added 403 page --- .htaccess | 3 ++- 403.html | 27 +++++++++++++++++++++++++++ 2 files changed, 29 insertions(+), 1 deletion(-) create mode 100644 403.html diff --git a/.htaccess b/.htaccess index 6fc2d7e..ff45c01 100644 --- a/.htaccess +++ b/.htaccess @@ -14,4 +14,5 @@ RewriteRule ^(.*)$ $1.html [NC,L] RewriteCond %{REQUEST_FILENAME}\.php -f RewriteRule ^(.*)$ $1.php [NC,L] -ErrorDocument 404 /404 \ No newline at end of file +ErrorDocument 404 /404 +ErrorDocument 403 /403 \ No newline at end of file diff --git a/403.html b/403.html new file mode 100644 index 0000000..3f26503 --- /dev/null +++ b/403.html @@ -0,0 +1,27 @@ + + + + + + + + + + Error 404 - Not found + + + + + + + +
+

Error 403 - You're not allowed to see this!

+

Click here to go to main page

+
+
+ +