aboutsummaryrefslogtreecommitdiff
path: root/cgi/rgb.cgi
diff options
context:
space:
mode:
authorsn4il <sn4il@theplace>2023-06-27 10:59:14 +0300
committersn4il <sn4il@theplace>2023-06-27 10:59:14 +0300
commit91406f02b2a87e0dbfaf8a391edd049c25563848 (patch)
treeb06afb9bbc7e7c5e9aa74def727bdbb52bf8c365 /cgi/rgb.cgi
downloadpubnix-91406f02b2a87e0dbfaf8a391edd049c25563848.tar.gz
pubnix-91406f02b2a87e0dbfaf8a391edd049c25563848.zip
Initial commit
Diffstat (limited to 'cgi/rgb.cgi')
-rwxr-xr-xcgi/rgb.cgi10
1 files changed, 10 insertions, 0 deletions
diff --git a/cgi/rgb.cgi b/cgi/rgb.cgi
new file mode 100755
index 0000000..84fce1f
--- /dev/null
+++ b/cgi/rgb.cgi
@@ -0,0 +1,10 @@
+#!/bin/bash
+
+#printf "20 text/plain\r\n"
+printf "20 text/gemini\r\n"
+/usr/bin/cat /srv/gemini/gb.gmi
+echo ""
+#echo "=>/cgi-bin/rgb.cgi Читать гостевую"
+echo "=> gemini://phreedom.club/cgi-bin/gb.cgi Писать в гостевую"
+echo "=> gemini://phreedom.club/~tolstoevsky/index.gmi На капсулу Tolstoevsky"
+echo "=> gemini://phreedom.club/index.gmi На капсулу Phreedom"