diff options
| author | reger <reger18@arcor.de> | 2014-04-26 22:27:59 +0200 |
|---|---|---|
| committer | reger <reger18@arcor.de> | 2014-04-26 22:27:59 +0200 |
| commit | d812f80784a7b033169711d51140edfd9a810749 (patch) | |
| tree | 4679a1a25bf8502d54b515671f42e6930c27d9c1 /defaults/web.xml | |
| parent | 78d08998dbeb5a11a7b413cebe815b205fc873be (diff) | |
add exit proxy link to UrlProxy
on proxied pages a link to exit proxy is added to top of page.
Link text can be configured in web.xml init-parameter (see default/web.xml). If missing no link is displayed.
Diffstat (limited to 'defaults/web.xml')
| -rw-r--r-- | defaults/web.xml | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/defaults/web.xml b/defaults/web.xml index 6c8b409bb..c31cc39b7 100644 --- a/defaults/web.xml +++ b/defaults/web.xml @@ -47,6 +47,11 @@ <servlet-class>net.yacy.http.servlets.YaCyProxyServlet</servlet-class> --> <servlet-class>net.yacy.http.servlets.UrlProxyServlet</servlet-class> + <init-param> + <description>Link text on top of proxied page to stop use of proxy</description> + <param-name>stopProxyText</param-name> + <param-value>YaCy stop proxy</param-value> + </init-param> </servlet> <!-- mappings activated by the application - hardcoded (added here for completness) --> |
