Added 403 page
This commit is contained in:
@@ -15,3 +15,4 @@ RewriteCond %{REQUEST_FILENAME}\.php -f
|
||||
RewriteRule ^(.*)$ $1.php [NC,L]
|
||||
|
||||
ErrorDocument 404 /404
|
||||
ErrorDocument 403 /403
|
27
403.html
Normal file
27
403.html
Normal file
@@ -0,0 +1,27 @@
|
||||
<!DOCTYPE html>
|
||||
<!--[if lt IE 7]> <html class="no-js lt-ie9 lt-ie8 lt-ie7"> <![endif]-->
|
||||
<!--[if IE 7]> <html class="no-js lt-ie9 lt-ie8"> <![endif]-->
|
||||
<!--[if IE 8]> <html class="no-js lt-ie9"> <![endif]-->
|
||||
<!--[if gt IE 8]> <html class="no-js"> <!--<![endif]-->
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8" />
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
||||
<title>Error 404 - Not found</title>
|
||||
<meta name="description" content="404 Error Page" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
||||
<link rel="stylesheet" href="./css/error.css" />
|
||||
<link
|
||||
href="https://fonts.googleapis.com/css2?family=Inconsolata:wght@500&display=swap"
|
||||
rel="stylesheet"
|
||||
/>
|
||||
</head>
|
||||
<body>
|
||||
<a href="./">
|
||||
<div class="container">
|
||||
<p style="padding-top: calc(40%)">Error 403 - You're not allowed to see this!</p>
|
||||
<p style="padding-top: calc(50%)">Click here to go to main page</p>
|
||||
</div>
|
||||
</a>
|
||||
</body>
|
||||
</html>
|
Reference in New Issue
Block a user