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></p>
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.
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>
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>
43 </div><div class=
"top"><a href=
"#page-header"><img alt=
"top" src=
"../images/up.gif" /></a></div>
45 <h2><a name=
"options" id=
"options">Options
</a></h2>
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
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.
68 <dt><code>-o
<var>OUTPUT_DBM
</var></code></dt>
69 <dd>Name of the output dbm files.
</dd>
71 </div><div class=
"top"><a href=
"#page-header"><img alt=
"top" src=
"../images/up.gif" /></a></div>
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 />
79 <div class=
"bottomlang">
80 <p><span>Available Languages:
</span><a href=
"../en/programs/httxt2dbm.html" title=
"English"> en
</a> |
81 <a href=
"../tr/programs/httxt2dbm.html" hreflang=
"tr" rel=
"alternate" title=
"Türkçe"> tr
</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>