summaryrefslogtreecommitdiffstats
path: root/docs/man/httxt2dbm.1
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-07 15:01:30 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-07 15:01:30 +0000
commit6beeb1b708550be0d4a53b272283e17e5e35fe17 (patch)
tree1ce8673d4aaa948e5554000101f46536a1e4cc29 /docs/man/httxt2dbm.1
parentInitial commit. (diff)
downloadapache2-6beeb1b708550be0d4a53b272283e17e5e35fe17.tar.xz
apache2-6beeb1b708550be0d4a53b272283e17e5e35fe17.zip
Adding upstream version 2.4.57.upstream/2.4.57upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'docs/man/httxt2dbm.1')
-rw-r--r--docs/man/httxt2dbm.165
1 files changed, 65 insertions, 0 deletions
diff --git a/docs/man/httxt2dbm.1 b/docs/man/httxt2dbm.1
new file mode 100644
index 0000000..2a06b0c
--- /dev/null
+++ b/docs/man/httxt2dbm.1
@@ -0,0 +1,65 @@
+.\" XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
+.\" DO NOT EDIT! Generated from XML source.
+.\" XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
+.de Sh \" Subsection
+.br
+.if t .Sp
+.ne 5
+.PP
+\fB\\$1\fR
+.PP
+..
+.de Sp \" Vertical space (when we can't use .PP)
+.if t .sp .5v
+.if n .sp
+..
+.de Ip \" List item
+.br
+.ie \\n(.$>=3 .ne \\$3
+.el .ne 3
+.IP "\\$1" \\$2
+..
+.TH "HTTXT2DBM" 1 "2019-11-13" "Apache HTTP Server" "httxt2dbm"
+
+.SH NAME
+httxt2dbm \- Generate dbm files for use with RewriteMap
+
+.SH "SYNOPSIS"
+
+.PP
+\fB\fBhttxt2dbm\fR [ -\fBv\fR ] [ -\fBf\fR \fIDBM_TYPE\fR ] -\fBi\fR \fISOURCE_TXT\fR -\fBo\fR \fIOUTPUT_DBM\fR \fR
+
+
+.SH "SUMMARY"
+
+.PP
+\fBhttxt2dbm\fR is used to generate dbm files from text input, for use in RewriteMap with the \fBdbm\fR map type\&.
+
+.PP
+If the output file already exists, it will not be truncated\&. New keys will be added and existing keys will be updated\&.
+
+
+.SH "OPTIONS"
+
+
+.TP
+\fB-v\fR
+More verbose output
+.TP
+\fB-f \fIDBM_TYPE\fR\fR
+Specify the DBM type to be used for the output\&. If not specified, will use the APR Default\&. Available types are: \fBGDBM\fR for GDBM files, \fBSDBM\fR for SDBM files, \fBDB\fR for berkeley DB files, \fBNDBM\fR for NDBM files, \fBdefault\fR for the default DBM type\&.
+.TP
+\fB-i \fISOURCE_TXT\fR\fR
+Input file from which the dbm is to be created\&. The file should be formatted with one record per line, of the form: \fBkey value\fR\&. See the documentation for RewriteMap for further details of this file's format and meaning\&.
+.TP
+\fB-o \fIOUTPUT_DBM\fR\fR
+Name of the output dbm files\&.
+
+.SH "EXAMPLES"
+
+.nf
+
+ httxt2dbm -i rewritemap\&.txt -o rewritemap\&.dbm
+ httxt2dbm -f SDBM -i rewritemap\&.txt -o rewritemap\&.dbm
+.fi
+