File: ndtpd.conf.sample.in

package info (click to toggle)
ndtpd 3.1.2-2
  • links: PTS
  • area: main
  • in suites: woody
  • size: 2,524 kB
  • ctags: 690
  • sloc: ansic: 8,565; sh: 7,275; perl: 655; makefile: 175
file content (96 lines) | stat: -rw-r--r-- 2,323 bytes parent folder | download | duplicates (2)
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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
######################################################################
# Configuration file for NDTPD and ebHTTPD.
# (Copy this file to `ndtpd.conf', and edit it.)
######################################################################

### Port number `ndtpd' binds.
### (default: ndtp)
# ndtp-port		ndtp

### Port number `ebhttpd' binds.
### (default: http)
# http-port		http

### Owner of the server process.
### (default: none)
user			ndtpuser

### Group of the server process.
### (default: none)
group			ndtpgrp

### How many clients can be connected to the server at the same time.
### (default: 1)
# max-clients		1

### Which hosts can or cannot connect to the server.
### (default: none)
hosts			127.0.0.1
hosts			::1
hosts			!?
hosts			host.your.domain

### Timeout seconds until the server disconnects an idle connection.
### (default: 900)
# timeout		900

### Path to a working directory.
### Please create the directory and make it be writable for the server
### processes before executing the server.
### (default: @pkglocalstatedir@)
# work-path		@pkglocalstatedir@

### How many hit entries the server tries to find at a search.
### (default: 50)
# max-hits		50

### The maximum size of text the server may send as a response to
### a client.
### (default: 32768)
# max-text-size		32768

### Syslog facility
### (default: daemon)
syslog-facility		local0

###
### Book entry
###
begin book
    ### Name of the book.
    ### (required)
    name		jitenban97

    ### Title of the book.
    ### (required)
    title		Jitenban 97

    ### Path to a top directory of the book.
    ### (required)
    path		/cdrom

    ### Path to a top directory of the appdendix data of the book.
    ### (default: none)
    appendix-path	@datadir@/eb/appendix/jitenban97-2.1

    ### How many clients can access the book at the same time.
    ### (default: 1)
    max-clients		1

    ### Which hosts can or cannot access to the book.
    ### (default: none)
    hosts		127.0.0.1
    hosts		::1
    hosts		!?
    hosts		host.your.domain

    ### Aliases.
    ### (default: none)
    alias-eiwa		chujiten
    alias-waei		chujiten
    alias-kojien	iwakoku
end

### Add a book group directive (lines between `begin book' and `end'),
### if you want to read another CD-ROM book.  A book group directive
### is required for each book.