GOFISH(5)
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 toroot-dir.mimefileβ the location of the Apache stylemime.typesfile.hostβ host name.listen-addressβ address to listen on.portβ what port number to listen on.70is 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 to1, GoFish will support virtual hosts.combined_logβ if set to1, 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 to1, GoFish will not log accesses from local machines. Local machines are defined as192.168.x.xand127.0.0.1.preprocess_cacheβ if set to1will dynamically process the.cachefile 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 π
π AUTHOR π
Written by Sean MacLennan
π REPORTING BUGS π
Report bugs to <headgopher@seanm.ca>.
Β© COPYRIGHT Β©
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
- nixos 26.05: gofish 1.2
- nixpkgs unstable: gofish 1.2
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms