Update error pages to valid XHTML format
Also change some text and how the messages are displayed, to look better.
This commit is contained in:
parent
7751efc218
commit
922e0be574
@ -1,48 +1,56 @@
|
||||
<html>
|
||||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
|
||||
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
|
||||
|
||||
<head>
|
||||
<title>
|
||||
Request failed - {cause}
|
||||
</title>
|
||||
<title>{cause}</title>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<center>{cause}</center>
|
||||
<blockquote>
|
||||
The request you made failed. Here are the error variables:
|
||||
<dt>
|
||||
request
|
||||
<dd>
|
||||
{request}
|
||||
<dt>
|
||||
cause
|
||||
<dd>
|
||||
{cause}
|
||||
<dt>
|
||||
clientip
|
||||
<dd>
|
||||
{clientip}
|
||||
<dt>
|
||||
clienthost
|
||||
<dd>
|
||||
{clienthost}
|
||||
<dt>
|
||||
version
|
||||
<dd>
|
||||
{version}
|
||||
<dt>
|
||||
package
|
||||
<dd>
|
||||
{package}
|
||||
<dt>
|
||||
date
|
||||
<dd>
|
||||
{date}
|
||||
<dt>
|
||||
detail
|
||||
<dd>
|
||||
{detail}
|
||||
<dt>
|
||||
url
|
||||
<dd>
|
||||
{url}
|
||||
|
||||
<h1>HTTP proxy error</h1>
|
||||
|
||||
<p>The following error has occured at the HTTP proxy: {detail}</p>
|
||||
|
||||
<p>Here are the error variables:</p>
|
||||
|
||||
<dl>
|
||||
|
||||
<dt>request</dt>
|
||||
<dd>{request}</dd>
|
||||
|
||||
<dt>cause</dt>
|
||||
<dd>{cause}</dd>
|
||||
|
||||
<dt>clientip</dt>
|
||||
<dd>{clientip}</dd>
|
||||
|
||||
<dt>clienthost</dt>
|
||||
<dd>{clienthost}</dd>
|
||||
|
||||
<dt>version</dt>
|
||||
<dd>{version}</dd>
|
||||
|
||||
<dt>package</dt>
|
||||
<dd>{package}</dd>
|
||||
|
||||
<dt>date</dt>
|
||||
<dd>{date}</dd>
|
||||
|
||||
<dt>detail</dt>
|
||||
<dd>{detail}</dd>
|
||||
|
||||
<dt>url</dt>
|
||||
<dd>{url}</dd>
|
||||
|
||||
</dl>
|
||||
|
||||
<hr />
|
||||
|
||||
<p><em>Generated by {package} ({version})</em></p>
|
||||
|
||||
</body>
|
||||
|
||||
</html>
|
||||
|
@ -1,7 +1,23 @@
|
||||
<html><head><title>{cause}</title></head>
|
||||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
|
||||
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
|
||||
|
||||
<head>
|
||||
<title>{cause}</title>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<font size=\+2\>Cache Error!</font><br>
|
||||
The following error has occured: {detail}
|
||||
<hr>
|
||||
<font size=\-1\><em>Generated by {package} ({version})</em></font>
|
||||
</body></html>
|
||||
|
||||
<h1>HTTP proxy error</h1>
|
||||
|
||||
<p>The following error has occured at the HTTP proxy: {detail}</p>
|
||||
|
||||
<hr />
|
||||
|
||||
<p><em>Generated by {package} ({version})</em></p>
|
||||
|
||||
</body>
|
||||
|
||||
</html>
|
||||
|
@ -1,10 +1,65 @@
|
||||
<html><head><title>{package} ({version}) stats</title></head>
|
||||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
|
||||
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
|
||||
|
||||
<head>
|
||||
<title>{package} {version} run-time statistics</title>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
|
||||
|
||||
<style type="text/css" media="screen" title="Mukund theme">
|
||||
<!--/*--><![CDATA[<!--*/
|
||||
|
||||
th, td
|
||||
{
|
||||
text-align: left;
|
||||
padding: 0.5em;
|
||||
border: 1px solid gray;
|
||||
}
|
||||
|
||||
/*]]>*/-->
|
||||
</style>
|
||||
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<center><h2>{package} ({version}) run-time statistics</h2></center><hr>
|
||||
<blockquote>
|
||||
Number of open connections: {opens}<br>
|
||||
Number of requests: {reqs}<br>
|
||||
Number of bad connections: {badconns}<br>
|
||||
Number of denied connections: {deniedconns}<br>
|
||||
Number of refused connections due to high load: {refusedconns}<br>
|
||||
</blockquote></body></html>
|
||||
|
||||
<h2>{package} {version} run-time statistics</h2>
|
||||
|
||||
<table>
|
||||
|
||||
<tr>
|
||||
<th>Name</th>
|
||||
<th>Value</th>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td>Number of open connections</td>
|
||||
<td>{opens}</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td>Number of requests</td>
|
||||
<td>{reqs}</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td>Number of bad connections</td>
|
||||
<td>{badconns}</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td>Number of denied connections</td>
|
||||
<td>{deniedconns}</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td>Number of refused connections due to high load</td>
|
||||
<td>{refusedconns}</td>
|
||||
</tr>
|
||||
|
||||
</table>
|
||||
|
||||
</body>
|
||||
|
||||
</html>
|
||||
|
Loading…
Reference in New Issue
Block a user