proxy.cgi - geomyidae - A small C-based gopherd. | |
git clone git://bitreich.org/geomyidae/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfri… | |
Log | |
Files | |
Refs | |
Tags | |
README | |
LICENSE | |
--- | |
proxy.cgi (308B) | |
--- | |
1 #!/bin/sh | |
2 # | |
3 # Be sure to make this some index.cgi inside your /scm base dir. | |
4 # Then this will mirror /scm on the $proxyhost:$proxyport here. | |
5 # | |
6 | |
7 arguments="${2}" | |
8 proxyhost="192.168.4.56" | |
9 proxyport="70" | |
10 proxybase="/scm" | |
11 | |
12 # git://bitreich.org/hurl | |
13 hurl gopher://$proxyhost:$proxyport/9${proxybase}${arguments} | |
14 |