{
    "mode": "man",
    "parameter": "HTTXT2DBM",
    "section": "1",
    "url": "https://www.chedong.com/phpMan.php/man/HTTXT2DBM/1/json",
    "generated": "2026-10-22T13:21:16Z",
    "synopsis": "httxt2dbm [ -v ] [ -f DBMTYPE ] -i SOURCETXT -o OUTPUTDBM",
    "sections": {
        "NAME": {
            "content": "httxt2dbm - Generate dbm files for use with RewriteMap\n\n",
            "subsections": []
        },
        "SYNOPSIS": {
            "content": "httxt2dbm [ -v ] [ -f DBMTYPE ] -i SOURCETXT -o OUTPUTDBM\n\n\n",
            "subsections": []
        },
        "SUMMARY": {
            "content": "httxt2dbm  is  used to generate dbm files from text input, for use in RewriteMap with the dbm\nmap type.\n\n\nIf the output file already exists, it will not be truncated. New keys will be added  and  ex‐\nisting keys will be updated.\n\n\n",
            "subsections": []
        },
        "OPTIONS": {
            "content": "",
            "subsections": [
                {
                    "name": "-v",
                    "content": "",
                    "flag": "-v"
                },
                {
                    "name": "-f _",
                    "content": "Specify the DBM type to be used for the output. If not specified, will use the APR De‐\nfault.  Available types are: GDBM for GDBM files, SDBM for SDBM files, DB for berkeley\nDB files, NDBM for NDBM files, default for the default DBM type.\n",
                    "flag": "-f"
                },
                {
                    "name": "-i _",
                    "content": "Input file from which the dbm is to be created. The file should be formatted with  one\nrecord per line, of the form: key value. See the documentation for RewriteMap for fur‐\nther details of this file's format and meaning.\n",
                    "flag": "-i"
                },
                {
                    "name": "-o _",
                    "content": "Name of the output dbm files.\n\n",
                    "flag": "-o"
                }
            ]
        },
        "EXAMPLES": {
            "content": "httxt2dbm -i rewritemap.txt -o rewritemap.dbm\nhttxt2dbm -f SDBM -i rewritemap.txt -o rewritemap.dbm\n\n\nApache HTTP Server                           2019-11-13                                 HTTXT2DBM(1)",
            "subsections": []
        }
    },
    "summary": "httxt2dbm - Generate dbm files for use with RewriteMap",
    "flags": [
        {
            "flag": "-v",
            "long": null,
            "arg": null,
            "description": ""
        },
        {
            "flag": "-f",
            "long": null,
            "arg": null,
            "description": "Specify the DBM type to be used for the output. If not specified, will use the APR De‐ fault. Available types are: GDBM for GDBM files, SDBM for SDBM files, DB for berkeley DB files, NDBM for NDBM files, default for the default DBM type."
        },
        {
            "flag": "-i",
            "long": null,
            "arg": null,
            "description": "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. See the documentation for RewriteMap for fur‐ ther details of this file's format and meaning."
        },
        {
            "flag": "-o",
            "long": null,
            "arg": null,
            "description": "Name of the output dbm files."
        }
    ],
    "examples": [
        "httxt2dbm -i rewritemap.txt -o rewritemap.dbm",
        "httxt2dbm -f SDBM -i rewritemap.txt -o rewritemap.dbm",
        "Apache HTTP Server                           2019-11-13                                 HTTXT2DBM(1)"
    ],
    "see_also": []
}