---
name: "httxt2dbm"
section: "8"
platform: "linux"
package: "apache2.2-bin"
version: "2.2.16-6+squeeze12"
release: "Debian 6.0 (Squeeze)"
platforms: ["linux"]
url: "https://new.carta.tech/httxt2dbm/8"
---

# httxt2dbm(8)

Generate dbm files for use with RewriteMap

## NAME

httxt2dbm - Generate dbm files for use with RewriteMap

## SYNOPSIS

**httxt2dbm** \[ **-v** \] \[ **-f** *DBM\_TYPE* \] **-i** *SOURCE\_TXT* **-o** *OUTPUT\_DBM*

## SUMMARY

**httxt2dbm** is used to generate dbm files from text input, for use in RewriteMap with the dbm map type.

## 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:\
    GDBM for GDBM files\
    SDBM for SDBM files\
    DB for berkeley DB files\
    NDBM for NDBM files\
    default for 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 for RewriteMap for 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
