Moved apache code into a folder to help prepare for packaging where we dont want...
[httpd-crcsyncproxy.git] / apache / docs / manual / programs / httxt2dbm.html.en
blob6be6401913eb022e44f5e654d26cc8441f90e231
1 <?xml version="1.0" encoding="ISO-8859-1"?>
2 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
3 <html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en"><head><!--
4 XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
5 This file is generated from xml source: DO NOT EDIT
6 XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
7 -->
8 <title>httxt2dbm - Generate dbm files for use with RewriteMap - Apache HTTP Server</title>
9 <link href="../style/css/manual.css" rel="stylesheet" media="all" type="text/css" title="Main stylesheet" />
10 <link href="../style/css/manual-loose-100pc.css" rel="alternate stylesheet" media="all" type="text/css" title="No Sidebar - Default font size" />
11 <link href="../style/css/manual-print.css" rel="stylesheet" media="print" type="text/css" />
12 <link href="../images/favicon.ico" rel="shortcut icon" /></head>
13 <body id="manual-page"><div id="page-header">
14 <p class="menu"><a href="../mod/">Modules</a> | <a href="../mod/directives.html">Directives</a> | <a href="../faq/">FAQ</a> | <a href="../glossary.html">Glossary</a> | <a href="../sitemap.html">Sitemap</a></p>
15 <p class="apache">Apache HTTP Server Version 2.3</p>
16 <img alt="" src="../images/feather.gif" /></div>
17 <div class="up"><a href="./"><img title="&lt;-" alt="&lt;-" src="../images/left.gif" /></a></div>
18 <div id="path">
19 <a href="http://www.apache.org/">Apache</a> &gt; <a href="http://httpd.apache.org/">HTTP Server</a> &gt; <a href="http://httpd.apache.org/docs/">Documentation</a> &gt; <a href="../">Version 2.3</a> &gt; <a href="./">Programs</a></div><div id="page-content"><div id="preamble"><h1>httxt2dbm - Generate dbm files for use with RewriteMap</h1>
20 <div class="toplang">
21 <p><span>Available Languages: </span><a href="../en/programs/httxt2dbm.html" title="English">&nbsp;en&nbsp;</a> |
22 <a href="../tr/programs/httxt2dbm.html" hreflang="tr" rel="alternate" title="Türkçe">&nbsp;tr&nbsp;</a></p>
23 </div>
25 <p><code>httxt2dbm</code> is used to generate dbm files from text input, for
26 use in <code class="directive"><a href="../mod/mod_rewrite.html#rewritemap">RewriteMap</a></code> with the
27 <code>dbm</code> map type.
28 </p>
29 </div>
30 <div id="quickview"><ul id="toc"><li><img alt="" src="../images/down.gif" /> <a href="#synopsis">Synopsis</a></li>
31 <li><img alt="" src="../images/down.gif" /> <a href="#options">Options</a></li>
32 <li><img alt="" src="../images/down.gif" /> <a href="#examples">Examples</a></li>
33 </ul><h3>See also</h3><ul class="seealso"><li><code class="program"><a href="../programs/httpd.html">httpd</a></code></li><li><code class="module"><a href="../mod/mod_rewrite.html">mod_rewrite</a></code></li></ul></div>
34 <div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div>
35 <div class="section">
36 <h2><a name="synopsis" id="synopsis">Synopsis</a></h2>
37 <p><code><strong>httxt2dbm</strong>
38 [ -<strong>v</strong> ]
39 [ -<strong>f</strong> <var>DBM_TYPE</var> ]
40 -<strong>i</strong> <var>SOURCE_TXT</var>
41 -<strong>o</strong> <var>OUTPUT_DBM</var>
42 </code></p>
43 </div><div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div>
44 <div class="section">
45 <h2><a name="options" id="options">Options</a></h2>
46 <dl>
47 <dt><code>-v</code></dt>
48 <dd>More verbose output</dd>
50 <dt><code>-f <var>DBM_TYPE</var></code></dt>
51 <dd>Specify the DBM type to be used for the output. If not specified, will
52 use the <a class="glossarylink" href="../glossary.html#apr" title="see glossary">APR</a> Default. Available types are:<br />
53 <code>GDBM</code> for GDBM files<br />
54 <code>SDBM</code> for SDBM files<br />
55 <code>DB</code> for berkeley DB files<br />
56 <code>NDBM</code> for NDBM files<br />
57 <code>default</code> for the default DBM type
58 </dd>
60 <dt><code>-i <var>SOURCE_TXT</var></code></dt>
61 <dd>Input file from which the dbm is to be created. The file should be formated
62 with one record per line, of the form:<br />
63 <code>key value</code><br />
64 See the documentation for <code class="directive"><a href="../mod/mod_rewrite.html#rewritemap">RewriteMap</a></code> for
65 further details of this file's format and meaning.
66 </dd>
68 <dt><code>-o <var>OUTPUT_DBM</var></code></dt>
69 <dd>Name of the output dbm files.</dd>
70 </dl>
71 </div><div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div>
72 <div class="section">
73 <h2><a name="examples" id="examples">Examples</a></h2>
74 <div class="example"><p><code>
75 httxt2dbm -i rewritemap.txt -o rewritemap.dbm<br />
76 httxt2dbm -f SDBM -i rewritemap.txt -o rewritemap.dbm<br />
77 </code></p></div>
78 </div></div>
79 <div class="bottomlang">
80 <p><span>Available Languages: </span><a href="../en/programs/httxt2dbm.html" title="English">&nbsp;en&nbsp;</a> |
81 <a href="../tr/programs/httxt2dbm.html" hreflang="tr" rel="alternate" title="Türkçe">&nbsp;tr&nbsp;</a></p>
82 </div><div id="footer">
83 <p class="apache">Copyright 2009 The Apache Software Foundation.<br />Licensed under the <a href="http://www.apache.org/licenses/LICENSE-2.0">Apache License, Version 2.0</a>.</p>
84 <p class="menu"><a href="../mod/">Modules</a> | <a href="../mod/directives.html">Directives</a> | <a href="../faq/">FAQ</a> | <a href="../glossary.html">Glossary</a> | <a href="../sitemap.html">Sitemap</a></p></div>
85 </body></html>