home *** CD-ROM | disk | FTP | other *** search
/ ftp.muug.mb.ca / 2014.06.ftp.muug.mb.ca.tar / ftp.muug.mb.ca / pub / src / gopher / gopher1.01 / misc / archie-gopher-gw / README~ < prev   
Encoding:
Text File  |  1992-04-05  |  1.0 KB  |  45 lines

  1. This perl script allows one to connect up archie into gopher.
  2.  
  3. To install it do something similar to the following: (these
  4. instructions are geared towards SunOS...)
  5.  
  6. 1) Add an entry to the /etc/services file like this:
  7.  
  8.    archiegate  7999/tcp
  9.  
  10. 2) Remake the NIS databases if necessary (cd /var/yp; make)
  11.  
  12. 3) Add a line to the /etc/inetd.conf file:
  13.  
  14.    archgoph        stream  tcp     nowait root /etc/gateway.pl gateway.pl
  15.  
  16.    The sixth argument should be the full path to your gateway script.
  17.  
  18. 4) Edit the script and set the port and  host of the gateway machine.
  19.  
  20. 5) Then find the process ID of the inetd process and send it a HUP
  21.    signal:
  22.  
  23.    kill -HUP {inetd PID}
  24.  
  25.  
  26. 6) Test it out by telnetting to the port you specified in the services
  27.    file, send it a query...
  28.  
  29.    telnet mudhoney.micro.umn.edu 7999
  30.    Connected to mudhoney.micro.umn.edu.
  31.    Escape character is '^]'.
  32.    gopher
  33.    {results returned here...}
  34.    .
  35.  
  36. 7) Make a link from your gopher database to the gateway.
  37.  
  38.    Type=7
  39.    Name=Archie search
  40.    Host=mudhoney.micro.umn.edu
  41.    Path=
  42.    Port=7999
  43.  
  44.  
  45.