HTTXT2DBM(1)
π HTTXT2DBM(1) π
okay bestie so this is the manual page for httxt2dbm, living in section 1 of the manual (that's the user commands girlies π
). it's from the Apache HTTP Server and honestly? she's a little icon. let's get into it π¦
β¨ NAME β¨
httxt2dbm β generate dbm files for use with RewriteMap π
πΈ SYNOPSIS πΈ
httxt2dbm [ -v ] [ -f DBM_TYPE ] -i SOURCE_TXT -o OUTPUT_DBM
like. that's the whole summoning ritual. no cap. β¨
π¦ SUMMARY π¦
so httxt2dbm is the girl who takes your text input and turns it into dbm files, specifically so you can use them in RewriteMap with the dbm map type. it's giving translator, it's giving glow-up, it's giving "your .txt files could never" π
β οΈ okay important tea: if the output file already exists, it will not be truncated. not even a little. new keys get added and existing keys get updated. so nothing gets deleted, she just... edits. respectfully. π«Ά
π OPTIONS π
-vβ more verbose output. she'll yap more. we love a chatty queen π¬-fDBM_TYPEβ specify the DBM type to be used for the output. if you don't specify one, it will use the APR Default. the available types are:GDBMfor GDBM files,SDBMfor SDBM files,DBfor berkeley DB files,NDBMfor NDBM files, anddefaultfor the default DBM type. pick your fighter β-iSOURCE_TXTβ the input file from which the dbm is to be created. the file should be formatted with one record per line, of the form:key value. for further details of this file's format and meaning, go see the documentation forRewriteMapπ (iykyk)-oOUTPUT_DBMβ name of the output dbm files. that's it. that's the name. name it something cute π
π EXAMPLES π
the classic:
httxt2dbm -i rewritemap.txt -o rewritemap.dbm
and the one where you're being specific about your DBM type because you have taste:
httxt2dbm -f SDBM -i rewritemap.txt -o rewritemap.dbm
slay. ate. no notes. π₯
and that's the whole page bestie π this one's from the Apache HTTP Server, dated 2026-04-30 β go forth and generate those dbm files, you absolute main character πβ¨π
π¦ where this page comes from
- alpine 3.22: apache2-doc 2.4.69-r0 Β· Apache-2.0
- alpine 3.23: apache2-doc 2.4.69-r0 Β· Apache-2.0
- alpine 3.24: apache2-doc 2.4.69-r0 Β· Apache-2.0
- arch rolling: apache 2.4.69-1 Β· Apache-2.0
- debian bookworm: apache2-utils 2.4.68-1~deb12u1 Β· Apache-2.0
- debian trixie: apache2-utils 2.4.68-1~deb13u1 Β· Apache-2.0
- debian trixie: apache2-utils 2.4.69-1~deb13u1 Β· Apache-2.0
- fedora 43: httpd-tools 2.4.68-1.fc43
- fedora 43: httpd-tools 2.4.69-1.fc43 Β· Apache-2.0 AND (BSD-3-Clause AND metamail AND HPND-sell-variant AND Spencer-94)
- fedora 44: httpd-tools 2.4.69-1.fc44 Β· Apache-2.0 AND (BSD-3-Clause AND metamail AND HPND-sell-variant AND Spencer-94)
- nixpkgs unstable: apache-httpd 2.4.69
- ubuntu stonking: apache2-utils 2.4.68-1ubuntu4 Β· Apache-2.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms