Go to main content

man pages section 1: User Commands

Exit Print View

Updated: Thursday, June 13, 2019
 
 

httxt2dbm (1)

Name

httxt2dbm - Generate dbm files for use with RewriteMap

Synopsis

httxt2dbm [ -v ] [ -f DBM_TYPE ] -i SOURCE_TXT -o OUTPUT_DBM

Description

HTTXT2DBM(1)                       httxt2dbm                      HTTXT2DBM(1)



NAME
       httxt2dbm - Generate dbm files for use with RewriteMap


SYNOPSIS
       httxt2dbm [ -v ] [ -f DBM_TYPE ] -i SOURCE_TXT -o OUTPUT_DBM



SUMMARY
       httxt2dbm  is  used  to  generate dbm files from text input, for use in
       RewriteMap with the dbm map type.


       If the output file already exists, it will not be truncated.  New  keys
       will be added and existing keys will be updated.



OPTIONS
       -v     More verbose output

       -f DBM_TYPE
              Specify  the  DBM  type to be used for the output. If not speci-
              fied, will use the APR Default. 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.

       -i SOURCE_TXT
              Input file from which the dbm is to be created. The file  should
              be  formated  with  one record per line, of the form: key value.
              See the documentation for RewriteMap for further details of this
              file's format and meaning.

       -o OUTPUT_DBM
              Name of the output dbm files.


EXAMPLES
             httxt2dbm -i rewritemap.txt -o rewritemap.dbm
             httxt2dbm -f SDBM -i rewritemap.txt -o rewritemap.dbm




ATTRIBUTES
       See attributes(7) for descriptions of the following attributes:


       +---------------+----------------------+
       |ATTRIBUTE TYPE |   ATTRIBUTE VALUE    |
       +---------------+----------------------+
       |Availability   | web/server/apache-24 |
       +---------------+----------------------+
       |Stability      | Uncommitted          |
       +---------------+----------------------+
NOTES
       This     software     was    built    from    source    available    at
       https://github.com/oracle/solaris-userland.   The  original   community
       source         was         downloaded         from          https://ar-
       chive.apache.org/dist/httpd/httpd-2.4.39.tar.gz

       Further information about this software can be found on the open source
       community website at https://httpd.apache.org/.



Apache HTTP Server                2018-07-06                      HTTXT2DBM(1)