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