geomyidae

A small C-based gopherd. (gopher://bitreich.org/1/scm/geomyidae)
git clone git://r-36.net/geomyidae
Log | Files | Refs | 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