httxt2dbm.8   [plain text]


.\" httxt2dbm.8
.\"
.\" Based on http://httpd.apache.org/docs/2.2/programs/httxt2dbm.html
.\"
.Dd October 21, 2008
.Dt HTTXT2DBM 8
.Os
.Sh NAME
.Nm httxt2dbm
.Nd "Generate dbm files for use with RewriteMap"
.Sh SYNOPSIS
.Nm
.Op Fl v
.Op Fl f Ar DBM_TYPE
.Fl i Ar SOURCE_TXT
.Fl o Ar OUTPUT_DBM
.Sh DESCRIPTION
.Bl -tag -width flag
.It Fl v
More verbose output.
.It Fl f
Specify the DBM type to be used for the output.
If not specified, will use the APR default.
Available types are:
.Bl -tag -width default
.It GDBM
GDBM files
.It SDBM
SDBM files
.It DB
Berkeley DB files
.It NDBM
NDBM files
.It default
default DBM type
.El
.It Fl i
Input file from which the dbm is to be created.
This file should be formatted with one record per line, of the form:
.Dq key value .
See the documentation for RewriteMap for further details of this file's format and meaning.
.It Fl o
Name of the output dbm files.
.El
.Sh EXAMPLES
.Nm
.Fl i
.Ar rewritemap.txt
.Fl o
.Ar rewritemap.dbm
.Pp
.Nm
.Fl f
.Ar SBDM
.Fl i
.Ar rewritemap.txt
.Fl o
.Ar rewritemap.dbm
.Sh SEE ALSO
.Xr httpd 8