geomyidae

A small C-based gopherd. (gopher://bitreich.org/1/scm/geomyidae)
git clone git://r-36.net/geomyidae
Log | Files | Refs | README | LICENSE

README (1295B)


      1 A gopherd for Linux/BSD.
      2 
      3 Features:
      4 	* gopher menus (see index.gph for an example)
      5 	* dir listings (if no index.gph was found)
      6 	* CGI support (.cgi files are executed)
      7 	* search support in CGI files
      8 	* logging (-l option) and loglevels (-v option)
      9 	* TLS, if compiled with libtls (provided by LibreSSL, edit Makefile)
     10 
     11 Usage:
     12 
     13 	geomyidae [-d] [-l logfile] [-v loglvl] [-b htdocs] [-p port] [-o sport]
     14 		  [-u user] [-g group] [-h host] [-i IP]
     15 		-d		don't fork into background
     16 		-l logfile	setting this will turn on logging into logfile
     17 		-v loglevel	see below (default 7)
     18 		-b htdocs	the htdocs root for serving files (default
     19 				/var/gopher)
     20 		-p port		set the port where geomyidae should listen on
     21 				(default 70)
     22 		-o sport	set the port that should be shown in the dir
     23 				listings
     24 		-u user		which user rights the serving children should get
     25 		-g group	which group rights the serving children should get
     26 		-i IP		IP which geomyidae should bind to
     27 		-h host		host that should be used in the dir listings
     28 
     29 Loglevels:
     30 
     31 	0 - no logging
     32 	1 - served plain files
     33 	2 - dir listings
     34 	4 - HTTP redirects
     35 	8 - not found queries
     36 	16 - client connections
     37 
     38 	1 + 2 + 4 = 7 (files + dir listings + HTTP)
     39 
     40 Init scripts:
     41 	The rc.d directory includes startup scripts for various distributions.
     42 
     43 
     44 Have fun!
     45