GOPHRIER

NAME
SYNOPSIS
DESCRIPTION
OPTIONS
CONFIGURATION FILES
AUTHORS
COPYRIGHT

NAME

gophrier − A Gopher server

SYNOPSIS

gophrier [ −4 ] [ −6 ] [ −b 0|1 ] [ −c <PATH> ] [ −d 0|1 ] [ −g 0|1 ] [ −l <PATH> ] [ −p <PORT> ] [ −−pidfile <PATH> ] [ −r <PATH> ] [ −s 0|1 ] [ −h ]

DESCRIPTION

Gophrier is a Gopher protocol server.

OPTIONS

−4

Run Gophrier in IPv4 mode.

−6

Run Gophrier in IPv6 mode.

−b

Allow Gophrier to browse directories (1) or not (0).

−c

Read configuration from the specified PATH.

−d

Run as a daemon (1) or as a normal process (0).

−g

Tell Gophrier to display content of gophermap files (1) instead of directory content (0).

−h

Display help information and exit.

−l

Output log files in the specified PATH.

−p

Listen to incoming connections on the specified PORT.

−−pidfile

Write pid to specified PATH (only when running as a daemon).

−r

Specify the root directory of files distributed by Gophrier.

−s

Display symlinks (1) or not (0).

CONFIGURATION FILES

Gophrier reads its configuration from a hierarchy of files. Each element of configuration is in a different file.
<confdir>/browsable

Allow Gophrier to display content of directories (1) or not (0). Default is to allow browsing directories.

<confdir>/daemon

Wether to run Gophrier as a daemon (1) or not (0). Default is to run as a daemon.

<confdir>/ipv6

Wether Gopher should use the IPv6 protocol (1) or IPv4 (0). Default is to use IPv4 protocol.

<confdir>/logdir

The directory where Gophrier will create its log files.

<confdir>/pidpath

When Gophrier runs as a daemon, it’ll try to write its pid to the specified file.

<confdir>/port

The port Gophrier will listen to client requests. Default to 70. Many gopher clients are only able to connect to servers running on port 70.

<confdir>/rootdir

The directory containing the files distributed by Gophrier.

<confdir>/symlinks

Display symlinks (1) or not (0). Default is to display symlinks.

<confdir>/typehelper

Name of a type helper module. It must be set to either "ext" or the complete name of a compiled module installed in the modules directory. When set to something else than "ext" and module does not exists or module support is not enabled, Gophrier will fallback to dummy type helper.

<confdir>/gophermap/enable

Whether Gophrier should display gophermap (1) or directory content (0).

<confdir>/gophermap/names

List of names Gophrier should try to use as a gophermap file. Default to "gophermap".

AUTHORS

Copyright (c) 2010-2011 Guillaume Duhamel

Web: http://gophrier.tuxfamily.org

COPYRIGHT

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful,but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA

See the GNU General Public License details in COPYING.