File: httxt2dbm.8

package info (click to toggle)
apache2 2.2.16-6%2Bsqueeze15
  • links: PTS, VCS
  • area: main
  • in suites: squeeze-lts
  • size: 38,516 kB
  • ctags: 20,767
  • sloc: ansic: 227,630; sh: 22,460; perl: 2,191; makefile: 1,244; awk: 1,133; pascal: 517; lex: 191; python: 136; yacc: 100; xml: 36
file content (41 lines) | stat: -rw-r--r-- 1,120 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
.TH "HTTXT2DBM" 8 "2007-06-26" "Apache HTTP Server" "httxt2dbm"

.SH NAME
httxt2dbm - Generate dbm files for use with RewriteMap

.SH "SYNOPSIS"
 
.PP
\fBhttxt2dbm\fR [ \fB\-v\fR ] [ \fB\-f\fR \fIDBM_TYPE\fR ] \fB\-i\fR \fISOURCE_TXT\fR \fB\-o\fR \fIOUTPUT_DBM\fR 

.SH "SUMMARY"
 
.PP
\fBhttxt2dbm\fR is used to generate dbm files from text input, for use in RewriteMap with the dbm map type.

.SH "OPTIONS"
 
.TP
\-v
More verbose output
.TP
\-f \fIDBM_TYPE\fR
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 
.TP
\-i \fISOURCE_TXT\fR
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. 
.TP
\-o \fIOUTPUT_DBM\fR
Name of the output dbm files.

.SH "EXAMPLES"
httxt2dbm \-i rewritemap.txt \-o rewritemap.dbm

httxt2dbm \-f SDBM \-i rewritemap.txt \-o rewritemap.dbm