httxt2dbm - Generate dbm files for use with RewriteMap
Contents
Examples
httxt2dbm -i rewritemap.txt -o rewritemap.dbm
httxt2dbm -f SDBM -i rewritemap.txt -o rewritemap.dbm
Apache HTTP Server 2019-11-13 HTTXT2DBM(1)
Name
httxt2dbm - Generate dbm files for use with RewriteMap
Options
-v More verbose output
-fDBM_TYPE
Specify the DBM type to be used for the output. If not specified, will use the APR Default.
Available types are: GDBM for GDBM files, SDBM for SDBM files, DB for berkeley DB files, NDBM for
NDBM files, default for the default DBM type.
-iSOURCE_TXT
Input file from which the dbm is to be created. The file should be formatted with one record per
line, of the form: keyvalue. See the documentation for RewriteMap for further details of this
file's format and meaning.
-oOUTPUT_DBM
Name of the output dbm files.
Summary
httxt2dbm is used to generate dbm files from text input, for use in RewriteMap with the dbm map type.
If the output file already exists, it will not be truncated. New keys will be added and existing keys
will be updated.
Synopsis
httxt2dbm [ -v ] [ -fDBM_TYPE ] -iSOURCE_TXT -oOUTPUT_DBM
