Reduce verbosity of error messages, with addition of 500 and 429 pages

- Reduce verbosity of error messages in existing error pages with a
  short description of the error which occurred, followed by a bullet
  point list of probable causes.
- Addition of HTTP Error 500 and 429 pages.
- Add .gitignore file
This commit is contained in:
Xavier Moffett 2025-02-24 17:32:56 -05:00
parent 4a4dba0bf3
commit 5e27955194
Signed by: Sapphirus
GPG key ID: A6C061B2CEA1A7AC
7 changed files with 79 additions and 11 deletions

3
.gitignore vendored Normal file
View file

@ -0,0 +1,3 @@
/output
/suo
/*.sh

View file

@ -1,10 +1,17 @@
[//]: # "Title: Access unauthorised"
[//]: # "Title: Access Unauthorised"
[//]: # "Summary: Access to this resource has been prohibited."
<div class="err">
<h1>Access Unauthorised</h1>
<p>Access to this resource has been prohibited, because either
you have insufficient permissions to access this resource; or
the ip address you're connecting from has been prohibited
access to this server.</p>
<p>Access to this resource has been prohibited.</p>
<p>There could be a few reasons for this:</p>
<ul>
<li>Insufficient permission to access this resource;</li>
<li>Connecting from a blocked network, or;</li>
<li>A network associated with malicious traffic.</li>
</ul>
<p>If you believe this to be in error, e-mail <a href="mailto:3EjmZHiLR@mozmail.com" class="ml" a="ten.muiroza" b="nimda"></a>.</p>
</div>

View file

@ -4,4 +4,11 @@
<div class="err">
<h1>Not Found</h1>
<p>The resource requested not found on this server.</p>
<p>There could be a few reasons for this:</p>
<ul>
<li>The resource requested is no longer available, or;</li>
<li>There might be an error in the address provided.</li>
</ul>
</div>

17
input/error/429.html Normal file
View file

@ -0,0 +1,17 @@
[//]: # "Title: Too Many Reqests"
[//]: # "Summary: Access to this resource has been throttled."
<div class="err">
<h1>Too Many Requests</h1>
<p>Access to this resource has been throttled.</p>
<p>There could be a few reasons for this:</p>
<ul>
<li>The rate limit for this resource has been exhausted, or;</li>
<li>An excessive amount of traffic to this resource is
originating from malicious traffic on your network.</li>
</ul>
<p>Please try again later.</p>
</div>

16
input/error/500.html Normal file
View file

@ -0,0 +1,16 @@
[//]: # "Title: Internal Server Error"
[//]: # "Summary: An internal server error has occurred."
<div class="err">
<h1>Internal Server Error</h1>
<p>An internal server error has occurred.</p>
<p>There could be a few reasons for this:</p>
<ul>
<li>An internal misconfiguration of this resource, or;</li>
<li>Maintenance of this resource is occurring.</li>
</ul>
<p>Please try again later, or <a href="https://status.sapphirus.net">check here</a> for further information.</p>
</div>

View file

@ -1,8 +1,17 @@
[//]: # "Title: Bad Gateway"
[//]: # "Summary: The upstream resource is unavailable."
<div class="err">
<div class="err">
<h1>Bad Gateway</h1>
<p>The upstream resource is unavailable.<br>
Please try again later, or check <a href="https://status.sapphirus.net">here</a> for further information.</p>
<p>The upstream resource is unavailable.</p>
<p>There could be a few reasons for this:</p>
<ul>
<li>Maintenance of this resource is occurring;</li>
<li>The upstream resource is unresponsive, or;</li>
<li>The upstream service is simply not available.</li>
</ul>
<p>Please try again later, or <a href="https://status.sapphirus.net">check here</a> for further information.</p>
</div>

View file

@ -1,8 +1,17 @@
[//]: # "Title: Gateway Timeout"
[//]: # "Summary: The upstream resource is unavailable."
<div class="err">
<div class="err">
<h1>Gateway Timeout</h1>
<p>The upstream resource is unavailable.<br>
Please try again later, or check <a href="https://status.sapphirus.net">here</a> for further information.</p>
<p>The upstream resource is unavailable.</p>
<p>There could be a few reasons for this:</p>
<ul>
<li>Maintenance of this resource is occurring;</li>
<li>The upstream resource is unresponsive, or;</li>
<li>The upstream service is simply not available.</li>
</ul>
<p>Please try again later, or <a href="https://status.sapphirus.net">check here</a> for further information.</p>
</div>