summaryrefslogtreecommitdiff
path: root/htroot/proxymsg/unknownHost.inc
diff options
context:
space:
mode:
authortheli <theli@6c8d7289-2bf4-0310-a012-ef5d649a1542>2006-02-14 09:55:09 +0000
committertheli <theli@6c8d7289-2bf4-0310-a012-ef5d649a1542>2006-02-14 09:55:09 +0000
commiteeba8b055e972f7c49d0e36024a632364bd77f85 (patch)
tree98ed913caea428615c5442925a71a83d5dedd0e5 /htroot/proxymsg/unknownHost.inc
parent7eb10675b3b454869afed7a7a17a65e3ee9c235d (diff)
*) guessing, testing and suggesting alternative hostnames on "unknown host" error
See: http://www.yacy-forum.de/viewtopic.php?t=1879 git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@1636 6c8d7289-2bf4-0310-a012-ef5d649a1542
Diffstat (limited to 'htroot/proxymsg/unknownHost.inc')
-rw-r--r--htroot/proxymsg/unknownHost.inc19
1 files changed, 19 insertions, 0 deletions
diff --git a/htroot/proxymsg/unknownHost.inc b/htroot/proxymsg/unknownHost.inc
new file mode 100644
index 000000000..0676b7f82
--- /dev/null
+++ b/htroot/proxymsg/unknownHost.inc
@@ -0,0 +1,19 @@
+<STYLE type="text/css">
+<!--
+.hostPort {
+ color: green;
+ font-weight: bold;
+}
+-->
+</STYLE>
+<hr>
+<p>The server <b>#[hostName]#</b> could not be found.</p>
+Did you mean:
+<table>
+ #{list}#
+ <tr>
+ <td><a class="hostPort" href="http://#[hostName]#:#[hostPort]##[hostPath]##[hostArgs]#">#[hostName]#</a></td>
+ </tr>
+ #{/list}#
+</table>
+