diff --git a/htroot/yacysearch.html b/htroot/yacysearch.html index 8627f55fe..ade1b8ed6 100644 --- a/htroot/yacysearch.html +++ b/htroot/yacysearch.html @@ -4,7 +4,7 @@ #[former]# - YaCy '#[clientname]#': Search Page #%env/templates/metas.template%# - + diff --git a/htroot/yacysearch.java b/htroot/yacysearch.java index f75bdf4a7..367499b47 100644 --- a/htroot/yacysearch.java +++ b/htroot/yacysearch.java @@ -1050,9 +1050,10 @@ public class yacysearch { String hostName = header.get("Host", "localhost"); if ( hostName.indexOf(':', 0) == -1 ) { hostName += ":" + serverCore.getPortNr(env.getConfig("port", "8090")); - } + } prop.put("searchBaseURL", "http://" + hostName + "/yacysearch.html"); prop.put("rssYacyImageURL", "http://" + hostName + "/env/grafics/yacy.gif"); + prop.put("thisaddress", hostName); } prop.put("searchagain", global ? "1" : "0"); diff --git a/htroot/yacysearch.rss b/htroot/yacysearch.rss index 6c3ba5147..91ec690a0 100644 --- a/htroot/yacysearch.rss +++ b/htroot/yacysearch.rss @@ -21,7 +21,7 @@ #[num-results_totalcount]# #[num-results_offset]# #[num-results_itemsPerPage]# - +