Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
GOFISH(5)			    GoFish			     GOFISH(5)

NAME
       gofish.conf - the configuration file for	the GoFish gopher server

DESCRIPTION
       This  describes	the  configuration  file for the GoFish	gopher server.
       GoFish does not need a configuration file  to  run.  The	 configuration
       file  adds  flexibility	for either binary distributions	or running two
       gopher servers on seperate ports	and directories.

       This file is also read by the mkcache program to	get  the  root,	 host-
       name, and port entries.

FILE FORMAT
       The GoFish configuration	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 tem-
	      porary 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 de-
	      faults 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.	  pre-
	      process_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
       Copyright (C) 2002 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.

				  August 2002			     GOFISH(5)

NAME | DESCRIPTION | FILE FORMAT | OPTIONS | EXAMPLE | SEE ALSO | AUTHOR | REPORTING BUGS | COPYRIGHT

Want to link to this manual page? Use this URL:
<https://www.freebsd.org/cgi/man.cgi?query=gofish&sektion=5&manpath=FreeBSD+12.2-RELEASE+and+Ports>

home | help