It is recommended that the control and execution files be placed in a directory separate from your data, perhaps called GOSERVE. This may be the same directory as is already being used for running a Gopher server, as the control files (Filter, audit files, etc.) will normally have a different extension (.80).
Note that the filter must be in the working directory for GoServe, though you may change its name (an extension matching the port is recommended). If you make changes to the default filter, it's a good idea to change its name, too, so if you install a new version of GoServe your filter will not be overwritten by the new default filter.
The sample filter assumes that the data are held in a tree starting at the directory known by GoServe as the data directory (by default, GoServe assumes that is the directory '\gohttp' on the same drive as the working directory). You should normally change this, using GoServe, to point to a different subdirectory tree that holds your own data. This tree can be on any drive and start at any depth (it may even start at the root directory of a disk).
Note that the sample filter allows unrestricted access to all files in the subtree starting at your data directory.
For more details, see GOSERVE.DOC.
- - - - -
Mike Cowlishaw, IBM UK Laboratories[ previous section | GoHTTP]
From 'gohttp.doc', version 2.32.
Copyright © International Business Machines Corporation, 1994, 1995.
All rights reserved.