1HTTXT2DBM(1) httxt2dbm HTTXT2DBM(1)
2
3
4
6 httxt2dbm - Generate dbm files for use with RewriteMap
7
8
10 httxt2dbm [ -v ] [ -f DBM_TYPE ] -i SOURCE_TXT -o OUTPUT_DBM
11
12
13
15 httxt2dbm is used to generate dbm files from text input, for use in
16 RewriteMap with the dbm map type.
17
18
19 If the output file already exists, it will not be truncated. New keys
20 will be added and existing keys will be updated.
21
22
23
25 -v More verbose output
26
27 -f DBM_TYPE
28 Specify the DBM type to be used for the output. If not speciā
29 fied, will use the APR Default. Available types are: GDBM for
30 GDBM files, SDBM for SDBM files, DB for berkeley DB files, NDBM
31 for NDBM files, default for the default DBM type.
32
33 -i SOURCE_TXT
34 Input file from which the dbm is to be created. The file should
35 be formated with one record per line, of the form: key value.
36 See the documentation for RewriteMap for further details of this
37 file's format and meaning.
38
39 -o OUTPUT_DBM
40 Name of the output dbm files.
41
42
44 httxt2dbm -i rewritemap.txt -o rewritemap.dbm
45 httxt2dbm -f SDBM -i rewritemap.txt -o rewritemap.dbm
46
47
48
49
50Apache HTTP Server 2018-07-06 HTTXT2DBM(1)