| Date: Sat, 2 Apr 2022 22:51:46 +0200
Add proxy example script.
Diffstat:
cgi-examples/proxy.cgi | 14 ++++++++++++++
1 file changed, 14 insertions(+), 0 deletions(-)
--- |
| t@@ -0,0 +1,14 @@
+#!/bin/sh
+#
+# Be sure to make this some index.cgi inside your /scm base dir.
+# Then this will mirror /scm on the $proxyhost:$proxyport here.
+#
+
+arguments="${2}"
+proxyhost="192.168.4.56"
+proxyport="70"
+proxybase="/scm"
+
+# git://bitreich.org/hurl
+hurl gopher://$proxyhost:$proxyport/9${proxybase}${arguments}
+ |