82 lines
2.3 KiB
HTML
82 lines
2.3 KiB
HTML
|
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
|
<HTML><HEAD><TITLE>Man page of HTTXT2DBM</TITLE>
|
|
</HEAD><BODY>
|
|
<H1>HTTXT2DBM</H1>
|
|
Section: httxt2dbm (1)<BR>Updated: 2018-07-06<BR><A HREF="#index">Index</A>
|
|
<A HREF="/cgi-bin/man/man2html">Return to Main Contents</A><HR>
|
|
|
|
<P>
|
|
<A NAME="lbAB"> </A>
|
|
<H2>NAME</H2>
|
|
|
|
httxt2dbm - Generate dbm files for use with RewriteMap
|
|
<P>
|
|
<A NAME="lbAC"> </A>
|
|
<H2>SYNOPSIS</H2>
|
|
|
|
<BR>
|
|
<P>
|
|
|
|
<B>httxt2dbm</B> [ -<B>v</B> ] [ -<B>f</B> <I>DBM_TYPE</I> ] -<B>i</B> <I>SOURCE_TXT</I> -<B>o</B> <I>OUTPUT_DBM</I>
|
|
<BR>
|
|
<P>
|
|
<A NAME="lbAD"> </A>
|
|
<H2>SUMMARY</H2>
|
|
|
|
<BR>
|
|
<P>
|
|
|
|
<B>httxt2dbm</B> is used to generate dbm files from text input, for use in RewriteMap with the <B>dbm</B> map type.
|
|
<BR>
|
|
<P>
|
|
|
|
If the output file already exists, it will not be truncated. New keys will be added and existing keys will be updated.
|
|
<BR>
|
|
<P>
|
|
<A NAME="lbAE"> </A>
|
|
<H2>OPTIONS</H2>
|
|
|
|
<BR>
|
|
<BR>
|
|
<DL COMPACT>
|
|
<DT id="1"><B>-v</B><DD>
|
|
More verbose output
|
|
<DT id="2"><B>-f </B><I>DBM_TYPE</I><DD>
|
|
Specify the DBM type to be used for the output. If not specified, will use the APR Default. Available types are: <B>GDBM</B> for GDBM files, <B>SDBM</B> for SDBM files, <B>DB</B> for berkeley DB files, <B>NDBM</B> for NDBM files, <B>default</B> for the default DBM type.
|
|
<DT id="3"><B>-i </B><I>SOURCE_TXT</I><DD>
|
|
Input file from which the dbm is to be created. The file should be formatted with one record per line, of the form: <B>key value</B>. See the documentation for RewriteMap for further details of this file's format and meaning.
|
|
<DT id="4"><B>-o </B><I>OUTPUT_DBM</I><DD>
|
|
Name of the output dbm files.
|
|
<BR>
|
|
</DL>
|
|
<A NAME="lbAF"> </A>
|
|
<H2>EXAMPLES</H2>
|
|
|
|
<BR>
|
|
<PRE>
|
|
|
|
httxt2dbm -i rewritemap.txt -o rewritemap.dbm
|
|
httxt2dbm -f SDBM -i rewritemap.txt -o rewritemap.dbm
|
|
</PRE>
|
|
|
|
<BR>
|
|
<P>
|
|
|
|
<HR>
|
|
<A NAME="index"> </A><H2>Index</H2>
|
|
<DL>
|
|
<DT id="5"><A HREF="#lbAB">NAME</A><DD>
|
|
<DT id="6"><A HREF="#lbAC">SYNOPSIS</A><DD>
|
|
<DT id="7"><A HREF="#lbAD">SUMMARY</A><DD>
|
|
<DT id="8"><A HREF="#lbAE">OPTIONS</A><DD>
|
|
<DT id="9"><A HREF="#lbAF">EXAMPLES</A><DD>
|
|
</DL>
|
|
<HR>
|
|
This document was created by
|
|
<A HREF="/cgi-bin/man/man2html">man2html</A>,
|
|
using the manual pages.<BR>
|
|
Time: 00:05:17 GMT, March 31, 2021
|
|
</BODY>
|
|
</HTML>
|