Distributed Peer-to-Peer Web Search Engine and Intranet Search Appliance
Java decentralizedintranet-searchintranet-search-enginep2pp2p-networkprivacyprivacy-protectionsearch-enginesearchenginewebweb-search-enginewebsearchwebseearch-engine
status panel link to set max mem +url proxy same error text as in transparent
regera2e5ea2026c6
diff --git a/htroot/Status_p.inc b/htroot/Status_p.incindex f312831b0..8001f3985 100644--- a/htroot/Status_p.inc+++ b/htroot/Status_p.inc@@ -69,7 +69,7 @@<dt><a href="PerformanceMemory_p.html">Memory Usage</a></dt><dd><table border="0" cellspacing="0"><tr><td>RAM used:</td><td align="right">#[usedMemory]#</td></tr>- <tr><td>RAM max:</td><td align="right">#[maxMemory]#</td></tr>+ <tr><td><a href="Performance_p.html">RAM max:</a></td><td align="right">#[maxMemory]#</td></tr><tr><td>DISK used:</td><td align="right">(approx.) #[usedDisk]#</td></tr><tr><td>DISK free:</td><td align="right">#[freeDisk]#</td></tr></table></dd>diff --git a/source/net/yacy/http/servlets/YaCyProxyServlet.java b/source/net/yacy/http/servlets/YaCyProxyServlet.javaindex b125a6c85..440db5720 100644--- a/source/net/yacy/http/servlets/YaCyProxyServlet.java+++ b/source/net/yacy/http/servlets/YaCyProxyServlet.java@@ -77,7 +77,7 @@ public class YaCyProxyServlet extends ProxyServlet implements Servlet {final HttpServletResponse response = (HttpServletResponse) res;if (!Switchboard.getSwitchboard().getConfigBool("proxyURL", false)) {- response.sendError(HttpServletResponse.SC_FORBIDDEN,"proxy use not allowed.");+ response.sendError(HttpServletResponse.SC_FORBIDDEN,"proxy use not allowed. URL proxy globally switched off (see: Content Semantic -> Augmented Browsing -> URL proxy)");return;}@@ -85,7 +85,7 @@ public class YaCyProxyServlet extends ProxyServlet implements Servlet {if (!Domains.isThisHostIP(remoteHost)) {if (!proxyippatternmatch(remoteHost)) {response.sendError(HttpServletResponse.SC_FORBIDDEN,- "proxy use not granted for IP " + remoteHost);+ "proxy use not granted for IP " + remoteHost + " (see: Content Semantic -> Augmented Browsing -> Restrict URL proxy use filter)");return;}}@@ -145,7 +145,7 @@ public class YaCyProxyServlet extends ProxyServlet implements Servlet {prop.put(HeaderFramework.CONNECTION_PROP_HOST, proxyurl.getHost());prop.put(HeaderFramework.CONNECTION_PROP_PATH, proxyurl.getFile().replaceAll(" ", "%20"));prop.put(HeaderFramework.CONNECTION_PROP_REQUESTLINE, "PROXY");- prop.put("CLIENTIP", "0:0:0:0:0:0:0:1");+ prop.put(HeaderFramework.CONNECTION_PROP_CLIENTIP, "0:0:0:0:0:0:0:1");yacyRequestHeader.put(HeaderFramework.HOST, proxyurl.getHost());// temporarily add argument to header to pass it on to augmented browsing@@ -187,7 +187,6 @@ public class YaCyProxyServlet extends ProxyServlet implements Servlet {} else {location = "/proxy.html?" + actioncmdstr + "url=http://" + proxyurl.getHost() + "/" + location;}- //outgoingHeader.put(HeaderFramework.LOCATION, location);response.addHeader(HeaderFramework.LOCATION, location);}