summaryrefslogtreecommitdiff
path: root/doc/default.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/default.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/default.html')
-rw-r--r--doc/default.html28
1 files changed, 22 insertions, 6 deletions
diff --git a/doc/default.html b/doc/default.html
index 2cb291d..b0a7d8f 100644
--- a/doc/default.html
+++ b/doc/default.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>