Added errors 400, 401, 402, 405, 406, 408, 500, 501, 502, 503, and 504 customized pages. Modified 403 and 404 customized pages. Modified git ignore rules.

This commit is contained in:
Rooty 2024-02-18 22:06:31 +01:00
parent d4b64b7b6e
commit 64d91740b6
15 changed files with 229 additions and 7 deletions

11
.gitignore vendored
View File

@ -495,8 +495,19 @@ data/message/*
!data/static/html/valide.htm
data/static/html/system/*
!data/static/html/system/error.htm
!data/static/html/system/error-400.htm
!data/static/html/system/error-401.htm
!data/static/html/system/error-402.htm
!data/static/html/system/error-403.htm
!data/static/html/system/error-404.htm
!data/static/html/system/error-405.htm
!data/static/html/system/error-406.htm
!data/static/html/system/error-408.htm
!data/static/html/system/error-500.htm
!data/static/html/system/error-501.htm
!data/static/html/system/error-502.htm
!data/static/html/system/error-503.htm
!data/static/html/system/error-504.htm
!data/static/html/system/error.css
!data/static/html/system/giphy.gif

View File

@ -110,8 +110,20 @@ Options -Indexes
ModPagespeed Off
</IfModule>
ErrorDocument 400 //data/static/html/system/error-400.htm
ErrorDocument 401 //data/static/html/system/error-401.htm
ErrorDocument 402 //data/static/html/system/error-402.htm
ErrorDocument 403 //data/static/html/system/error-403.htm
ErrorDocument 404 //data/static/html/system/error-404.htm
ErrorDocument 405 //data/static/html/system/error-405.htm
ErrorDocument 406 //data/static/html/system/error-406.htm
ErrorDocument 408 //data/static/html/system/error-408.htm
ErrorDocument 500 //data/static/html/system/error-500.htm
ErrorDocument 501 //data/static/html/system/error-501.htm
ErrorDocument 502 //data/static/html/system/error-502.htm
ErrorDocument 503 //data/static/html/system/error-503.htm
ErrorDocument 504 //data/static/html/system/error-504.htm
# SetEnvIfNoCase Referer "^http://www.fab-l3.org/" locally_linked=1
# SetEnvIfNoCase Referer "^https://www.fab-l3.org/" locally_linked=1

View File

@ -0,0 +1,17 @@
<!DOCTYPE html>
<html>
<head>
<link rel="stylesheet" href="/data/static/html/system/error.css">
</head>
<body>
<div class="noise"></div>
<div class="overlay"></div>
<div class="terminal">
<h1>Error <span class="errorcode">400</span></h1>
<h2><span class="errorcode">Bad Request</span></h2>
<p class="output"></p>
<p class="output">Please try to <a href="/">return to the homepage</a>.</p>
<p class="output">Good luck.</p>
</div>
</body>
</html>

View File

@ -0,0 +1,17 @@
<!DOCTYPE html>
<html>
<head>
<link rel="stylesheet" href="/data/static/html/system/error.css">
</head>
<body>
<div class="noise"></div>
<div class="overlay"></div>
<div class="terminal">
<h1>Error <span class="errorcode">401</span></h1>
<h2><span class="errorcode">Unauthorized</span></h2>
<p class="output">You don't have authorization to access the page you are looking for on this server.</p>
<p class="output">Please try to <a href="/">return to the homepage</a>.</p>
<p class="output">Good luck.</p>
</div>
</body>
</html>

View File

@ -0,0 +1,17 @@
<!DOCTYPE html>
<html>
<head>
<link rel="stylesheet" href="/data/static/html/system/error.css">
</head>
<body>
<div class="noise"></div>
<div class="overlay"></div>
<div class="terminal">
<h1>Error <span class="errorcode">402</span></h1>
<h2><span class="errorcode">Payment Required</span></h2>
<p class="output"></p>
<p class="output">Please try to <a href="/">return to the homepage</a>.</p>
<p class="output">Good luck.</p>
</div>
</body>
</html>

View File

@ -1,6 +1,17 @@
<TABLE cellpadding="0" cellspacing="0" border="0" align="middle">
<TR>
<TD><BR><BR><img src="data/image/perso.png" border="0" align="center"><BR><BR></TD>
<TD><b>Veuillez cliquer sur un dossier<BR>pour acc&eacute;der &agrave; vos outils.</b></TD>
</TR>
</TABLE>
<!DOCTYPE html>
<html>
<head>
<link rel="stylesheet" href="/data/static/html/system/error.css">
</head>
<body>
<div class="noise"></div>
<div class="overlay"></div>
<div class="terminal">
<h1>Error <span class="errorcode">403</span></h1>
<h2><span class="errorcode">Forbidden</span></h2>
<p class="output">You don't have permission to access the page you are looking for on this server.</p>
<p class="output">Please try to <a href="/">return to the homepage</a>.</p>
<p class="output">Good luck.</p>
</div>
</body>
</html>

View File

@ -1,13 +1,14 @@
<!DOCTYPE html>
<html>
<head>
<link rel="stylesheet" href="data/static/html/system/error.css">
<link rel="stylesheet" href="/data/static/html/system/error.css">
</head>
<body>
<div class="noise"></div>
<div class="overlay"></div>
<div class="terminal">
<h1>Error <span class="errorcode">404</span></h1>
<h2><span class="errorcode">Not Found</span></h2>
<p class="output">The page you are looking for might have been removed, had its name changed or is temporarily unavailable.</p>
<p class="output">Please try to <a href="/">return to the homepage</a>.</p>
<p class="output">Good luck.</p>

View File

@ -0,0 +1,17 @@
<!DOCTYPE html>
<html>
<head>
<link rel="stylesheet" href="/data/static/html/system/error.css">
</head>
<body>
<div class="noise"></div>
<div class="overlay"></div>
<div class="terminal">
<h1>Error <span class="errorcode">405</span></h1>
<h2><span class="errorcode">Method Not Allowed</span></h2>
<p class="output"></p>
<p class="output">Please try to <a href="/">return to the homepage</a>.</p>
<p class="output">Good luck.</p>
</div>
</body>
</html>

View File

@ -0,0 +1,17 @@
<!DOCTYPE html>
<html>
<head>
<link rel="stylesheet" href="/data/static/html/system/error.css">
</head>
<body>
<div class="noise"></div>
<div class="overlay"></div>
<div class="terminal">
<h1>Error <span class="errorcode">406</span></h1>
<h2><span class="errorcode">Not Acceptable</span></h2>
<p class="output"></p>
<p class="output">Please try to <a href="/">return to the homepage</a>.</p>
<p class="output">Good luck.</p>
</div>
</body>
</html>

View File

@ -0,0 +1,17 @@
<!DOCTYPE html>
<html>
<head>
<link rel="stylesheet" href="/data/static/html/system/error.css">
</head>
<body>
<div class="noise"></div>
<div class="overlay"></div>
<div class="terminal">
<h1>Error <span class="errorcode">408</span></h1>
<h2><span class="errorcode">Request Timeout</span></h2>
<p class="output"></p>
<p class="output">Please try to <a href="/">return to the homepage</a>.</p>
<p class="output">Good luck.</p>
</div>
</body>
</html>

View File

@ -0,0 +1,17 @@
<!DOCTYPE html>
<html>
<head>
<link rel="stylesheet" href="/data/static/html/system/error.css">
</head>
<body>
<div class="noise"></div>
<div class="overlay"></div>
<div class="terminal">
<h1>Error <span class="errorcode">500</span></h1>
<h2><span class="errorcode">Internal Server Error</span></h2>
<p class="output"></p>
<p class="output">Please try to <a href="/">return to the homepage</a>.</p>
<p class="output">Good luck.</p>
</div>
</body>
</html>

View File

@ -0,0 +1,17 @@
<!DOCTYPE html>
<html>
<head>
<link rel="stylesheet" href="/data/static/html/system/error.css">
</head>
<body>
<div class="noise"></div>
<div class="overlay"></div>
<div class="terminal">
<h1>Error <span class="errorcode">501</span></h1>
<h2><span class="errorcode">Not Implemented</span></h2>
<p class="output"></p>
<p class="output">Please try to <a href="/">return to the homepage</a>.</p>
<p class="output">Good luck.</p>
</div>
</body>
</html>

View File

@ -0,0 +1,17 @@
<!DOCTYPE html>
<html>
<head>
<link rel="stylesheet" href="/data/static/html/system/error.css">
</head>
<body>
<div class="noise"></div>
<div class="overlay"></div>
<div class="terminal">
<h1>Error <span class="errorcode">502</span></h1>
<h2><span class="errorcode">Bad Gateway</span></h2>
<p class="output"></p>
<p class="output">Please try to <a href="/">return to the homepage</a>.</p>
<p class="output">Good luck.</p>
</div>
</body>
</html>

View File

@ -0,0 +1,17 @@
<!DOCTYPE html>
<html>
<head>
<link rel="stylesheet" href="/data/static/html/system/error.css">
</head>
<body>
<div class="noise"></div>
<div class="overlay"></div>
<div class="terminal">
<h1>Error <span class="errorcode">503</span></h1>
<h2><span class="errorcode">Service Unavailable</span></h2>
<p class="output"></p>
<p class="output">Please try to <a href="/">return to the homepage</a>.</p>
<p class="output">Good luck.</p>
</div>
</body>
</html>

View File

@ -0,0 +1,17 @@
<!DOCTYPE html>
<html>
<head>
<link rel="stylesheet" href="/data/static/html/system/error.css">
</head>
<body>
<div class="noise"></div>
<div class="overlay"></div>
<div class="terminal">
<h1>Error <span class="errorcode">504</span></h1>
<h2><span class="errorcode">Gateway Timeout</span></h2>
<p class="output"></p>
<p class="output">Please try to <a href="/">return to the homepage</a>.</p>
<p class="output">Good luck.</p>
</div>
</body>
</html>