summaryrefslogtreecommitdiff
path: root/htroot/goto_p.html
diff options
context:
space:
mode:
authorreger <reger18@arcor.de>2014-09-14 23:26:22 +0200
committerreger <reger18@arcor.de>2014-09-14 23:26:22 +0200
commit5247d01cd48ed20589bfe3bf02135cd80992b941 (patch)
tree3cc6802c798f74fe08b8bd215c89933457640131 /htroot/goto_p.html
parentde7641023cfdec0ce2b569aff8496e9cab9d5902 (diff)
implement a forward to remote peer link in P2P Network list
Most links in Network.html are only available with transparent proxy = on, which is switched off by default, to make the provided links useable in default setup a small forward servlet added (goto_p.java), which takes the peer hash as parameter and forwards to current public ip (optional with path= parameter). The servlet is protected ( _p ending) to assure forwarding works only for authorized YaCy users.
Diffstat (limited to 'htroot/goto_p.html')
-rw-r--r--htroot/goto_p.html10
1 files changed, 10 insertions, 0 deletions
diff --git a/htroot/goto_p.html b/htroot/goto_p.html
new file mode 100644
index 000000000..a33639aa2
--- /dev/null
+++ b/htroot/goto_p.html
@@ -0,0 +1,10 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>forwarding</title>
+ </head>
+ <body>
+ <h2>forward to remote peer</h2>
+ <p>Error: #[msg]#</p>
+ </body>
+</html>