Distributed Peer-to-Peer Web Search Engine and Intranet Search Appliance
Java decentralizedintranet-searchintranet-search-enginep2pp2p-networkprivacyprivacy-protectionsearch-enginesearchenginewebweb-search-enginewebsearchwebseearch-engine
little more verbose proxy 403 error message
regerba49ff81ed4b
diff --git a/source/net/yacy/http/AbstractRemoteHandler.java b/source/net/yacy/http/AbstractRemoteHandler.javaindex 82609cadf..b4d328cb9 100644--- a/source/net/yacy/http/AbstractRemoteHandler.java+++ b/source/net/yacy/http/AbstractRemoteHandler.java@@ -108,7 +108,7 @@ abstract public class AbstractRemoteHandler extends AbstractHandler implements Hif (!Switchboard.getSwitchboard().getConfigBool("isTransparentProxy", false)) {// transparent proxy not swiched on- response.sendError(HttpServletResponse.SC_FORBIDDEN,"proxy use not allowed.");+ response.sendError(HttpServletResponse.SC_FORBIDDEN,"proxy use not allowed (see Advanced Settings -> HTTP Networking -> Transparent Proxy; switched off).");baseRequest.setHandled(true);return;}@@ -117,7 +117,7 @@ abstract public class AbstractRemoteHandler extends AbstractHandler implements Hif (!proxyippatternmatch(remoteHost)) {// TODO: handle proxy accountresponse.sendError(HttpServletResponse.SC_FORBIDDEN,- "proxy use not granted for IP " + remoteHost + " (see Server Proxy Access settings).");+ "proxy use not granted for IP " + remoteHost + " (see Advanced Settings -> Proxy Access Settings -> IP-Number filter).");baseRequest.setHandled(true);return;}