James Milne | 12 May 2001 08:08

Trying to figure out setting up Gopher server


I'm interested in using Gopher for a few projects I have in mind, but
I'm having some trouble figuring out how to actually set things up.

First off, I'm currently trying to run gopherd 2.3.1 on Solaris
2.6. I managed to get it up and running from reading the man files,
and have a pretty basic setup for testing right now. I'm still
confused on a number of things though.

I started out by creating a few directories off /gopher-data and put
some smallish text files in them. Then I created a .link file in
/gopher-data. It looks like this:

Name=Net.txt
Type=0
Host=gopher2
Port=70
Path=0/Net.txt
Numb=1

Two boxes running, this .link file would be on gopher1, so I've got a
link pointing to a file on the second machine. (Likewise, gopher2 is
pointing to a file on gopher1.)

When I pull everything up in Lynx, I get this:

                                  Gopher Menu

(FILE) Net.txt (DIR) HTML-files
 (DIR) Text-files
(Continue reading)

John Goerzen | 14 May 2001 17:07
Favicon

Re: Trying to figure out setting up Gopher server


Good morning James!

James Milne <jmilne@...> writes:

> I'm interested in using Gopher for a few projects I have in mind, but
> I'm having some trouble figuring out how to actually set things up.

Glad to hear it!

> When I pull everything up in Lynx, I get this:
> 
>                                   Gopher Menu
> 
> (FILE) Net.txt (DIR) HTML-files
>  (DIR) Text-files

I should mention here that it is a known bug in Lynx that the first
two items in a Gopher menu are displayed on a single line.  That
happens everywhere.

> sorta explain what everything is, etc. I haven't found the
> documentation on how to do that, or perhaps I haven't understood the
> documentation on how to do that.

It's probably not documented :-)

Gopher, the original gopher protocol, has various document types -- 0
for text, 1 for directory, etc.  There is a type 'i' that is used for
information.  With UMN gopherd, you can create a file that looks like
(Continue reading)


Gmane