Scroll to navigation

GOPHERNICUS(1) General Commands Manual GOPHERNICUS(1)

NAME

gophernicusA modern, full-featured and secure gopher server

SYNOPSIS

gophernicus [-h hostname] [-p port] [-r port] [-t type] [-g mapfile] [-a tagfile] [-c dir] [-u dir] [-l file] [-w width] [-o charset] [-s seconds] [-i hits] [-k KiB] [-e ext=type [-e ext=type] ...] [-R old=new [-R old=new] ...] [-D text] [-L text] [-U paths] [-nv] [-nl] [-nh] [-nf] [-nd] [-nc] [-no] [-nq] [-ns] [-na] [-nt] [-nm] [-nr] [-np] [-nx] [-nu] [-nH] [-d] [-b] [-?]

DESCRIPTION

gophernicus is a gopher server. It serves almost compliant RFC 1436, with small changes to make it more modern. gophernicus supports userdirs, executable gophermaps, CGI, and virtual hosting (in the limits of the RFC).

gophernicus can log to syslog(3) or per-server files in Apache format.

The options are as follows:

hostname
Changes the server hostname shown on the output menu. The default is the fully qualified domain name of the machine.
port
Changes the server port shown on the output menu. The default is 70.
port
Changes the SSL/TLS port. The default is 0 (disabled).
directory
Set the document root of the server. The default is /var/gopher.
type
Set the default gopher filetype. The default is 0.
mapfile
Set the gophermap file name. The default is gophermap.
tagfile
Set the gophertag file name. The default is gophertag.
directory
Set the CGI script directory, under the document root. The default is /cgi-bin/.
directory
Set the name of the personal gopherspace directory. Each user can deploy a personal gopherspace by creating a directory directory in their home directory. The default is public_gopher.
file
Log to file in Apache-compatible combined format. Disabled by default.
width
Set default page width. The default is 67.
charset
Select the output charset. It can be UTF-8, US-ASCII, or ISO-9959-1. The default is UTF-8.
seconds
Session timeout in seconds. The default is 1800.
hits
Maximum hits until throttling. The default is 4069.
kilobytes
Maximum transfer size in KiB until throttling. The default is 4194304 (4 GiB).
directory
Set directory where output filters are found. Disabled by default.
ext=type
Map file extension ext to gopher filetype type.
old=new
Rewrite the start of a selector.
description
Set server description to appear in /caps.txt. If description looks like a filename (starts with a /), use the contents of the file.
location
Set server location to appear in /caps.txt. If location looks like a filename (starts with a /), use the contents of the file.
email
Set the email of the administrator to appear in /caps.txt.
paths
Set a colon-separated list of extra unveil(2) paths (only for OpenBSD).
Disable virtual hosting.
Disable parent directory links.
Disable menu header.
Disable menu footer.
Don't show date and size of files in menu.
Disable file content detection (similar to magic(5)).
Disable output charset conversion.
Disable HTTP-style query strings ‘?foo=bar&baz=quux’.
Disable logging to syslog(3).
Disable autogenerated /caps.txt.
Disable /server-status.
Disable shared memory use (for debugging purposes).
Disable root user check (for debugging purposes). By default, gophernicus will refuse to run as root.
Disable HAProxy proxy protocol.
Disable execution of gophermaps and scripts.
Disable HTTP response to HTTP GET and POST requests.
Print debug output in syslog(3) and /server-status. When -ns (disable syslog(3)) is used this option has no effect.
Display version information and build date.
Display licensing information.
Display help.

Default values may have been changed at compile time by gophernicus.env.

STANDARDS

gophernicus mostly conforms to RFC 1436

AUTHORS

Kim Holviala. wrote the original implementation (2009–2018).

fosslinux and hb9kns are the current maintainers (2019–).

Code contributed by others.

Developers can be reached at gophernicus.AT.gophernicus.DOT.org

BUGS

Known bugs are listed as issues on gophernicus's GitHub page: https://github.com/gophernicus/gophernicus/issues

Please report any bug you might experience there as well.

COPYRIGHT

Copyright © Kim Holviala 2009–2018.

Copyright © gophernicus developers 2019.

Licensed to you under the terms of the BSD 2-clause license. Please see LICENSE for the full terms of the license.

April 13, 2020 Debian