|
Next: Testing the server
Up: GN server configuration
Previous: Executing programs to
Most of the configuration information must be compiled into the GN
server (covered in Section ). Only a few aspects
can be overridden from the command line. The syntax of the GN
server command line is:
gn [-option ...] [root-directory]
The root-directory argument can be supplied to override the
pathname which was specified when the server was
compiled (see Section ). The following command line
options are accepted:
- -a
- Access should be limited to hosts specified in a
.access file in the root directory
(see Section ).
- -A
- Access should be limited as for the -a option, but GN
looks for a .access file in the directory of the file
being requested, or in each of the parent directories up to the root
directory.
- -c cache-file
- Specifies the name of the cache file, which lists the files in a
directory that may be served. This name is used for the cache file
in each directory.
- -k user-id
- Specifies the identity of the user that must own a cache file, in
order for documents listed within that file to be served (see
Section ).
- -K group-id
- Specifies the identity of the group that must own a cache file, in
order for documents listed within that file to be served.
- -L log-file
- Specifies the name of the log file to be used.
- -S
- Use the system logging facility (syslog) for logging instead
of a log file specified using -L.
- -t root-dir-title
- Specifies the title of the top-level Web document, which corresponds
to the top-level Gopher menu.
The GN server
distribution contains
extensive documentation in the doc subdirectory, both in
HTML and plain text format.
Next: Testing the server
Up: GN server configuration
Previous: Executing programs to
Spinning the Web by Andrew Ford
© 1995 International Thomson Publishing
© 2002 Andrew Ford and Ford & Mason Ltd
Note: this HTML document was generated in December 1994 directly from the
LaTeX source files using LaTeX2HTML. It was formatted into our standard page layout
using the Template Toolkit. The document is mainly of historical
interest as obviously many of the sites mentioned have long since
disappeared.
|