httxt2dbm - Generate dbm files for use with RewriteMap
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 ] [ -f DBM_TYPE ] -i SOURCE_TXT -o OUTPUT_DBM
Options
-v- More verbose output
-f DBM_TYPE- Specify the DBM type to be used for the output. If not specified, will use the APR Default. Available types are:
GDBMfor GDBM files,SDBMfor SDBM files,DBfor berkeley DB files,NDBMfor NDBM files,defaultfor the default DBM type. -i SOURCE_TXT- Input file from which the dbm is to be created. The file should be formated with one record per line, of the form:
key value. See the documentation forRewriteMapfor further details of this file's format and meaning. -o OUTPUT_DBM- Name of the output dbm files.
Examples
httxt2dbm -i rewritemap.txt -o rewritemap.dbm httxt2dbm -f SDBM -i rewritemap.txt -o rewritemap.dbm
© 2018 The Apache Software Foundation
Licensed under the Apache License, Version 2.0.
https://httpd.apache.org/docs/2.4/en/programs/httxt2dbm.html