GOFISH(5)

πŸ“¦ version 1.2, in nixos 26.05, nixpkgs unstable

GOFISH(5) β€” gofish.conf, the GoFish gopher server config πŸŸπŸ’–

πŸ’– NAME πŸ’–

gofish.conf β€” the configuration file for the GoFish gopher server.

🌸 DESCRIPTION 🌸

okay so bestie, this page describes the configuration file for the GoFish gopher server. The iconic plot twist? GoFish does not need a configuration file to run β€” no cap. The config file just adds flexibility for either binary distributions or running two gopher servers on separate ports and directories.

This file is also read by the mkcache program to get the root, hostname, and port entries. iykyk.


πŸ“ FILE FORMAT πŸ“

The GoFish config file is a simple ascii text file with option = data pairs. All lines not starting in an alphabetic (a-z) character are considered comments. All options are case sensitive.

The example in the example section shows the options with their default values (which may be changed at compile time).

✨ OPTIONS ✨

  • root β€” the root of the server directory.
  • logfile β€” the file to log GoFish hits in.
  • pidfile β€” where to put the pidfile at runtime.
  • tmpdir β€” directory to put temporary files in. Relative to root-dir.
  • mimefile β€” the location of the Apache style mime.types file.
  • host β€” host name.
  • listen-address β€” address to listen on.
  • port β€” what port number to listen on. 70 is the gopher port.
  • user β€” the username of the gopher user.
  • uid, gid β€” the numeric user and group ids of the gopher user.
  • virtual_hosts β€” if set to 1, GoFish will support virtual hosts.
  • combined_log β€” if set to 1, GoFish will use combined log format. Else, it defaults to common log format. Note that combined log format has no real meaning for gopher.
  • no_local β€” if set to 1, GoFish will not log accesses from local machines. Local machines are defined as 192.168.x.x and 127.0.0.1.
  • preprocess_cache β€” if set to 1 will dynamically process the .cache file to add host and port if necessary.

πŸŽ€ EXAMPLE πŸŽ€

# GoFish Gopher Server configuration file
root = /var/gopher
logfile = /var/log/gopherd
pidfile = /var/run/gopherd.pid
port = 70
uid = 13
gid = 30
no_local = 1

πŸ”Ž SEE ALSO πŸ”Ž

gofish(1), mkcache(1)

πŸ‘‘ AUTHOR πŸ‘‘

Written by Sean MacLennan

πŸ› REPORTING BUGS πŸ›

Report bugs to <headgopher@seanm.ca>.

Copyright Β© 2002-2008 Sean MacLennan

This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.


Signed, sealed, delivered with immaculate GoFish energy β€” GoFish, August 2002, GOFISH(5) πŸ’…βœ¨

πŸ“¦ where this page comes from