From b12200cafe77e03b5e209ca64013cb7fdc428122 Mon Sep 17 00:00:00 2001 From: reger Date: Sun, 30 Mar 2014 04:04:02 +0200 Subject: alternative UrlProxyServlet (for /proxy.html) using different url rewrite rules - use JSoup parser for selective rewrite of html body tag - tags with src attribute are taken from original location (like css) improving display and are not routed trough the indexer Disadvantage: scripting links will drop out of proxy Setting of the servlet through web.xml exclusivly (in case one would like to quickly switch back to the YaCyProxyServlet, leaving the existing code of YaCyProxyServlet untouched available) --- defaults/web.xml | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'defaults/web.xml') diff --git a/defaults/web.xml b/defaults/web.xml index 68e84d995..6c8b409bb 100644 --- a/defaults/web.xml +++ b/defaults/web.xml @@ -42,7 +42,11 @@ URLProxyServlet + + net.yacy.http.servlets.UrlProxyServlet @@ -61,6 +65,7 @@ URLProxyServlet /proxy.html + /proxy -- cgit v1.2.3