diff options
author | Thomas Lange <code@nerdmind.de> | 2017-11-17 14:27:51 +0100 |
---|---|---|
committer | Thomas Lange <code@nerdmind.de> | 2017-11-17 14:27:51 +0100 |
commit | 3e6f67f058392578b93cd09700607252c9e0b071 (patch) | |
tree | b5a4885dbbf5f6b40380409bcec983fb1327e106 /customization | |
parent | 712b82576fc052015539053151964573a2261a51 (diff) | |
download | apache-errorpage-3e6f67f058392578b93cd09700607252c9e0b071.tar.gz apache-errorpage-3e6f67f058392578b93cd09700607252c9e0b071.tar.xz apache-errorpage-3e6f67f058392578b93cd09700607252c9e0b071.zip |
The markup has been optimized to use more semantic <p> and <code> elements. In addition, the error page for HTTP status code 502 has been added.
Diffstat (limited to 'customization')
-rw-r--r-- | customization/errorpage/400.shtml | 2 | ||||
-rw-r--r-- | customization/errorpage/401.shtml | 2 | ||||
-rw-r--r-- | customization/errorpage/403.shtml | 2 | ||||
-rw-r--r-- | customization/errorpage/404.shtml | 2 | ||||
-rw-r--r-- | customization/errorpage/405.shtml | 2 | ||||
-rw-r--r-- | customization/errorpage/408.shtml | 2 | ||||
-rw-r--r-- | customization/errorpage/409.shtml | 2 | ||||
-rw-r--r-- | customization/errorpage/410.shtml | 2 | ||||
-rw-r--r-- | customization/errorpage/411.shtml | 2 | ||||
-rw-r--r-- | customization/errorpage/412.shtml | 2 | ||||
-rw-r--r-- | customization/errorpage/413.shtml | 2 | ||||
-rw-r--r-- | customization/errorpage/414.shtml | 2 | ||||
-rw-r--r-- | customization/errorpage/415.shtml | 2 | ||||
-rw-r--r-- | customization/errorpage/429.shtml | 4 | ||||
-rw-r--r-- | customization/errorpage/500.shtml | 2 | ||||
-rw-r--r-- | customization/errorpage/501.shtml | 2 | ||||
-rw-r--r-- | customization/errorpage/502.shtml | 7 | ||||
-rw-r--r-- | customization/errorpage/503.shtml | 2 | ||||
-rw-r--r-- | customization/errorpage/504.shtml | 2 | ||||
-rw-r--r-- | customization/errorpage/header.shtml | 2 |
20 files changed, 27 insertions, 20 deletions
diff --git a/customization/errorpage/400.shtml b/customization/errorpage/400.shtml index 90e2e15..9fd5525 100644 --- a/customization/errorpage/400.shtml +++ b/customization/errorpage/400.shtml @@ -2,5 +2,5 @@ <!--#set var="ERRORPAGE_TEXT" value="Bad Request" --> <!--#include file="header.shtml" --> - <div>Your browser (or proxy) sent a request that this server could not understand.</div> + <p>Your browser (or proxy) sent a request that this server could not understand.</p> <!--#include file="footer.shtml" -->
\ No newline at end of file diff --git a/customization/errorpage/401.shtml b/customization/errorpage/401.shtml index d6cfe68..491cacd 100644 --- a/customization/errorpage/401.shtml +++ b/customization/errorpage/401.shtml @@ -2,5 +2,5 @@ <!--#set var="ERRORPAGE_TEXT" value="Unauthorized" --> <!--#include file="header.shtml" --> - <div>This server could not verify that you are authorized to access this resource.</div> + <p>This server could not verify that you are authorized to access this resource.</p> <!--#include file="footer.shtml" -->
\ No newline at end of file diff --git a/customization/errorpage/403.shtml b/customization/errorpage/403.shtml index fb59017..4f9e0c7 100644 --- a/customization/errorpage/403.shtml +++ b/customization/errorpage/403.shtml @@ -2,5 +2,5 @@ <!--#set var="ERRORPAGE_TEXT" value="Forbidden" --> <!--#include file="header.shtml" --> - <div>You don't have permission to access the requested resource.</div> + <p>You don't have permission to access the requested resource.</p> <!--#include file="footer.shtml" -->
\ No newline at end of file diff --git a/customization/errorpage/404.shtml b/customization/errorpage/404.shtml index 714e4e0..a82707e 100644 --- a/customization/errorpage/404.shtml +++ b/customization/errorpage/404.shtml @@ -2,5 +2,5 @@ <!--#set var="ERRORPAGE_TEXT" value="Not Found" --> <!--#include file="header.shtml" --> - <div>The requested resource was not found on this server.</div> + <p>The requested resource was not found on this server.</p> <!--#include file="footer.shtml" -->
\ No newline at end of file diff --git a/customization/errorpage/405.shtml b/customization/errorpage/405.shtml index 2e699cc..32ca2a2 100644 --- a/customization/errorpage/405.shtml +++ b/customization/errorpage/405.shtml @@ -2,5 +2,5 @@ <!--#set var="ERRORPAGE_TEXT" value="Method Not Allowed" --> <!--#include file="header.shtml" --> - <div>The request method, with which the server has been requested is not allowed.</div> + <p>The request method, with which the server has been requested is not allowed.</p> <!--#include file="footer.shtml" -->
\ No newline at end of file diff --git a/customization/errorpage/408.shtml b/customization/errorpage/408.shtml index 09ed971..4398985 100644 --- a/customization/errorpage/408.shtml +++ b/customization/errorpage/408.shtml @@ -2,5 +2,5 @@ <!--#set var="ERRORPAGE_TEXT" value="Request Timeout" --> <!--#include file="header.shtml" --> - <div>The server closed the network connection because the client didn't finish the request within the specified time.</div> + <p>The server closed the network connection because the client didn't finish the request within the specified time.</p> <!--#include file="footer.shtml" -->
\ No newline at end of file diff --git a/customization/errorpage/409.shtml b/customization/errorpage/409.shtml index c59360c..ef4424e 100644 --- a/customization/errorpage/409.shtml +++ b/customization/errorpage/409.shtml @@ -2,5 +2,5 @@ <!--#set var="ERRORPAGE_TEXT" value="Conflict" --> <!--#include file="header.shtml" --> - <div>The request could not be completed due to a conflict with the current state of the resource.</div> + <p>The request could not be completed due to a conflict with the current state of the resource.</p> <!--#include file="footer.shtml" -->
\ No newline at end of file diff --git a/customization/errorpage/410.shtml b/customization/errorpage/410.shtml index ac56756..7340b9b 100644 --- a/customization/errorpage/410.shtml +++ b/customization/errorpage/410.shtml @@ -2,5 +2,5 @@ <!--#set var="ERRORPAGE_TEXT" value="Gone" --> <!--#include file="header.shtml" --> - <div>The requested resource is no longer available on this server and there is no forwarding address.</div> + <p>The requested resource is no longer available on this server and there is no forwarding address.</p> <!--#include file="footer.shtml" -->
\ No newline at end of file diff --git a/customization/errorpage/411.shtml b/customization/errorpage/411.shtml index 253c59e..eb9bb63 100644 --- a/customization/errorpage/411.shtml +++ b/customization/errorpage/411.shtml @@ -2,5 +2,5 @@ <!--#set var="ERRORPAGE_TEXT" value="Length Required" --> <!--#include file="header.shtml" --> - <div>The request method, with which the server has been requested requires a valid <code>Content-Length</code> header.</div> + <p>The request method, with which the server has been requested requires a valid <code>Content-Length</code> header.</p> <!--#include file="footer.shtml" -->
\ No newline at end of file diff --git a/customization/errorpage/412.shtml b/customization/errorpage/412.shtml index ac3cf35..7d27c06 100644 --- a/customization/errorpage/412.shtml +++ b/customization/errorpage/412.shtml @@ -2,5 +2,5 @@ <!--#set var="ERRORPAGE_TEXT" value="Precondition Failed" --> <!--#include file="header.shtml" --> - <div>The precondition on the request for the URL failed positive evaluation.</div> + <p>The precondition on the request for the URL failed positive evaluation.</p> <!--#include file="footer.shtml" -->
\ No newline at end of file diff --git a/customization/errorpage/413.shtml b/customization/errorpage/413.shtml index 4814ee4..66ffb98 100644 --- a/customization/errorpage/413.shtml +++ b/customization/errorpage/413.shtml @@ -2,5 +2,5 @@ <!--#set var="ERRORPAGE_TEXT" value="Payload Too Large" --> <!--#include file="header.shtml" --> - <div>The request method, with which the server has been requested does not allow the data transmitted, or the data volume exceeds the capacity limit.</div> + <p>The request method, with which the server has been requested does not allow the data transmitted, or the data volume exceeds the capacity limit.</p> <!--#include file="footer.shtml" -->
\ No newline at end of file diff --git a/customization/errorpage/414.shtml b/customization/errorpage/414.shtml index f3ad112..40f0535 100644 --- a/customization/errorpage/414.shtml +++ b/customization/errorpage/414.shtml @@ -2,5 +2,5 @@ <!--#set var="ERRORPAGE_TEXT" value="Request-URI Too Large" --> <!--#include file="header.shtml" --> - <div>The length of the requested URL exceeds the capacity limit for this server. The request cannot be processed.</div> + <p>The length of the requested URL exceeds the capacity limit for this server. The request cannot be processed.</p> <!--#include file="footer.shtml" -->
\ No newline at end of file diff --git a/customization/errorpage/415.shtml b/customization/errorpage/415.shtml index 939ff24..bd5c507 100644 --- a/customization/errorpage/415.shtml +++ b/customization/errorpage/415.shtml @@ -2,5 +2,5 @@ <!--#set var="ERRORPAGE_TEXT" value="Unsupported Media Type" --> <!--#include file="header.shtml" --> - <div>The server does not support the media type transmitted in the request.</div> + <p>The server does not support the media type transmitted in the request.</p> <!--#include file="footer.shtml" -->
\ No newline at end of file diff --git a/customization/errorpage/429.shtml b/customization/errorpage/429.shtml index cc2b31f..c1f39fb 100644 --- a/customization/errorpage/429.shtml +++ b/customization/errorpage/429.shtml @@ -2,6 +2,6 @@ <!--#set var="ERRORPAGE_TEXT" value="Too Many Requests" --> <!--#include file="header.shtml" --> - <div>The server has detected an unusually high number of requests from your network address <strong><span><!--#echo var="REMOTE_ADDR" --></span></strong> - and will not process further requests until the flooding has subsided.</div> + <p>The server has detected an unusually high number of requests coming from your network (<code><!--#echo var="REMOTE_ADDR" --></code>) + and will not process further requests until the flooding has subsided.</p> <!--#include file="footer.shtml" -->
\ No newline at end of file diff --git a/customization/errorpage/500.shtml b/customization/errorpage/500.shtml index 6214974..be108ce 100644 --- a/customization/errorpage/500.shtml +++ b/customization/errorpage/500.shtml @@ -2,5 +2,5 @@ <!--#set var="ERRORPAGE_TEXT" value="Internal Server Error" --> <!--#include file="header.shtml" --> - <div>The server encountered an internal error and was unable to complete your request. Either the server is overloaded or there was an error in a CGI script.</div> + <p>The server encountered an internal error and was unable to complete your request. Either the server is overloaded or there was an error in a CGI script.</p> <!--#include file="footer.shtml" -->
\ No newline at end of file diff --git a/customization/errorpage/501.shtml b/customization/errorpage/501.shtml index 3760c9f..e2987b1 100644 --- a/customization/errorpage/501.shtml +++ b/customization/errorpage/501.shtml @@ -2,5 +2,5 @@ <!--#set var="ERRORPAGE_TEXT" value="Not Implemented" --> <!--#include file="header.shtml" --> - <div>The server does not support the action requested by the client.</div> + <p>The server does not support the action requested by the client.</p> <!--#include file="footer.shtml" -->
\ No newline at end of file diff --git a/customization/errorpage/502.shtml b/customization/errorpage/502.shtml new file mode 100644 index 0000000..6629e18 --- /dev/null +++ b/customization/errorpage/502.shtml @@ -0,0 +1,7 @@ +<!--#set var="ERRORPAGE_CODE" value="502" --> +<!--#set var="ERRORPAGE_TEXT" value="Bad Gateway" --> + +<!--#include file="header.shtml" --> + <p>The server was acting as a gateway or proxy and received an invalid response from the upstream server (or + the upstream server is currently unavailable due to maintenance downtime or capacity problems).</p> +<!--#include file="footer.shtml" -->
\ No newline at end of file diff --git a/customization/errorpage/503.shtml b/customization/errorpage/503.shtml index 67e6861..4d3c807 100644 --- a/customization/errorpage/503.shtml +++ b/customization/errorpage/503.shtml @@ -2,5 +2,5 @@ <!--#set var="ERRORPAGE_TEXT" value="Service Unavailable" --> <!--#include file="header.shtml" --> - <div>The server is temporarily unable to service your request due to maintenance downtime or capacity problems. Please try again later.</div> + <p>The server is temporarily unable to service your request due to maintenance downtime or capacity problems. Please try again later.</p> <!--#include file="footer.shtml" -->
\ No newline at end of file diff --git a/customization/errorpage/504.shtml b/customization/errorpage/504.shtml index 1764e5d..03cf20f 100644 --- a/customization/errorpage/504.shtml +++ b/customization/errorpage/504.shtml @@ -2,5 +2,5 @@ <!--#set var="ERRORPAGE_TEXT" value="Gateway Timeout" --> <!--#include file="header.shtml" --> - <div>The gateway did not receive a timely response from the upstream server or application.</div> + <p>The gateway did not receive a timely response from the upstream server or application.</p> <!--#include file="footer.shtml" -->
\ No newline at end of file diff --git a/customization/errorpage/header.shtml b/customization/errorpage/header.shtml index 0c0a526..ac22303 100644 --- a/customization/errorpage/header.shtml +++ b/customization/errorpage/header.shtml @@ -14,7 +14,7 @@ /*++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*/ html{margin:0;padding:0;height:100%;box-sizing:border-box;font-size:1.25rem;font-family:'Share Tech Mono',sans-serif;color:#333;background:#EEE;} body{margin:0;padding:0;height:100%;box-sizing:border-box;font-size:1.00rem;line-height:1.20rem;display:flex;text-align:center;} - main{margin:auto;max-width:40rem;}div{font-size:0.8rem;color:#0060A0;}span{color:#C45C66;} + main{margin:auto;max-width:30rem;}p{margin:0;font-size:0.8rem;color:#0060A0;}code{color:#C45C66;font-weight:bold;} /*++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*/ /* Responsive |