summaryrefslogtreecommitdiff
path: root/doc/debug.html
diff options
context:
space:
mode:
authorMukund Sivaraman <muks@banu.com>2008-07-14 11:58:19 +0530
committerMukund Sivaraman <muks@banu.com>2008-07-14 11:58:19 +0530
commit922e0be57416f69ab0d22dce3446bca89c6b0242 (patch)
tree3c3cdb5fffa37163d547d958c961c3477d29262c /doc/debug.html
parent7751efc218c49c228189fb3de65d85e6841fd830 (diff)
downloadtinyproxy-922e0be57416f69ab0d22dce3446bca89c6b0242.tar.gz
tinyproxy-922e0be57416f69ab0d22dce3446bca89c6b0242.zip
Update error pages to valid XHTML format
Also change some text and how the messages are displayed, to look better.
Diffstat (limited to 'doc/debug.html')
-rw-r--r--doc/debug.html94
1 files changed, 51 insertions, 43 deletions
diff --git a/doc/debug.html b/doc/debug.html
index c62ca43..1116c00 100644
--- a/doc/debug.html
+++ b/doc/debug.html
@@ -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>