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
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="<-" alt="<-" src="../images/left.gif" /></a></div>
19 <a href="http://www.apache.org/">Apache</a> > <a href="http://httpd.apache.org/">HTTP Server</a> > <a href="http://httpd.apache.org/docs/">Documentation</a> > <a href="../">Version 2.3</a> > <a href="./">Programs</a></div><div id="page-content"><div id="preamble"><h1>httxt2dbm - Generate dbm files for use with RewriteMap</h1>
21 <p><span>Available Languages: </span><a href="../en/programs/httxt2dbm.html" title="English"> en </a> |
22 <a href="../tr/programs/httxt2dbm.html" hreflang="tr" rel="alternate" title="Türkçe"> tr </a> |
23 <a href="../zh-cn/programs/httxt2dbm.html" hreflang="zh-cn" rel="alternate" title="Simplified Chinese"> zh-cn </a></p>
26 <p><code>httxt2dbm</code> is used to generate dbm files from text input, for
27 use in <code class="directive"><a href="../mod/mod_rewrite.html#rewritemap">RewriteMap</a></code> with the
28 <code>dbm</code> map type.
31 <div id="quickview"><ul id="toc"><li><img alt="" src="../images/down.gif" /> <a href="#synopsis">Synopsis</a></li>
32 <li><img alt="" src="../images/down.gif" /> <a href="#options">Options</a></li>
33 <li><img alt="" src="../images/down.gif" /> <a href="#examples">Examples</a></li>
34 </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>
35 <div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div>
37 <h2><a name="synopsis" id="synopsis">Synopsis</a></h2>
38 <p><code><strong>httxt2dbm</strong>
39 [ -<strong>v</strong> ]
40 [ -<strong>f</strong> <var>DBM_TYPE</var> ]
41 -<strong>i</strong> <var>SOURCE_TXT</var>
42 -<strong>o</strong> <var>OUTPUT_DBM</var>
44 </div><div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div>
46 <h2><a name="options" id="options">Options</a></h2>
48 <dt><code>-v</code></dt>
49 <dd>More verbose output</dd>
51 <dt><code>-f <var>DBM_TYPE</var></code></dt>
52 <dd>Specify the DBM type to be used for the output. If not specified, will
53 use the <a class="glossarylink" href="../glossary.html#apr" title="see glossary">APR</a> Default. Available types are:<br />
54 <code>GDBM</code> for GDBM files<br />
55 <code>SDBM</code> for SDBM files<br />
56 <code>DB</code> for berkeley DB files<br />
57 <code>NDBM</code> for NDBM files<br />
58 <code>default</code> for the default DBM type
61 <dt><code>-i <var>SOURCE_TXT</var></code></dt>
62 <dd>Input file from which the dbm is to be created. The file should be formated
63 with one record per line, of the form:<br />
64 <code>key value</code><br />
65 See the documentation for <code class="directive"><a href="../mod/mod_rewrite.html#rewritemap">RewriteMap</a></code> for
66 further details of this file's format and meaning.
69 <dt><code>-o <var>OUTPUT_DBM</var></code></dt>
70 <dd>Name of the output dbm files.</dd>
72 </div><div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div>
74 <h2><a name="examples" id="examples">Examples</a></h2>
75 <div class="example"><p><code>
76 httxt2dbm -i rewritemap.txt -o rewritemap.dbm<br />
77 httxt2dbm -f SDBM -i rewritemap.txt -o rewritemap.dbm<br />
80 <div class="bottomlang">
81 <p><span>Available Languages: </span><a href="../en/programs/httxt2dbm.html" title="English"> en </a> |
82 <a href="../tr/programs/httxt2dbm.html" hreflang="tr" rel="alternate" title="Türkçe"> tr </a> |
83 <a href="../zh-cn/programs/httxt2dbm.html" hreflang="zh-cn" rel="alternate" title="Simplified Chinese"> zh-cn </a></p>
84 </div><div id="footer">
85 <p class="apache">Copyright 2011 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>
86 <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>