Return-Path: Delivered-To: apmail-httpd-cvs-archive@httpd.apache.org Received: (qmail 3863 invoked by uid 500); 25 Aug 2002 03:53:46 -0000 Mailing-List: contact cvs-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: dev@httpd.apache.org list-help: list-unsubscribe: list-post: Delivered-To: mailing list cvs@httpd.apache.org Received: (qmail 3835 invoked by uid 500); 25 Aug 2002 03:53:45 -0000 Delivered-To: apmail-httpd-2.0-cvs@apache.org Date: 25 Aug 2002 03:53:41 -0000 Message-ID: <20020825035341.60279.qmail@icarus.apache.org> From: slive@apache.org To: httpd-2.0-cvs@apache.org Subject: cvs commit: httpd-2.0/docs/manual/mod mod_auth_dbm.xml mod_auth_dbm.html.en mod_rewrite.xml mod_rewrite.html.en X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N slive 2002/08/24 20:53:41 Modified: docs/manual install.xml install.html.en docs/manual/mod mod_auth_dbm.xml mod_auth_dbm.html.en mod_rewrite.xml mod_rewrite.html.en Log: Add a little documentation on how to select DBMs during build and update the RerwiteMap and AuthDBMType directives to point to it. The build docs could still use a great deal of work. There are tons of things that aren't documented at all. Revision Changes Path 1.2 +26 -0 httpd-2.0/docs/manual/install.xml Index: install.xml =================================================================== RCS file: /home/cvs/httpd-2.0/docs/manual/install.xml,v retrieving revision 1.1 retrieving revision 1.2 diff -u -d -b -u -r1.1 -r1.2 --- install.xml 15 Aug 2002 14:49:54 -0000 1.1 +++ install.xml 25 Aug 2002 03:53:41 -0000 1.2 @@ -509,6 +509,32 @@ +
DBM + +

Several Apache features, including + mod_auth_dbm and mod_rewrite's + DBM RewriteMap use + simple key/value databases for quick lookups of information. Apache + includes SDBM with its source-code, so this database is always + available. If you would like to use other database types, the + following configure options are available:

+ +
+
--with-gdbm[=path]
+
--with-ndbm[=path]
+
--with-berkeley-db[=path]
+ +
If no path is specified, Apache will search for the +include files and libraries in the usual search paths. An explict +path will cause Apache to look in +path/lib and +path/include for the relevant files. Finally, +the path may specify specific include and library paths +seperated by a colon.
+
+
+ +
Suexec

Apache includes a support program called


Overview for the + impatient
  • Requirements
  • Download
  • Extract
  • Configuring the source tree
  • Build
  • Install
  • Customize
  • Test

  • Overview for the impatient

    @@ -480,6 +480,32 @@
    Choose the mpm NAME.
    + + +

    DBM

    + +

    Several Apache features, including + mod_auth_dbm and mod_rewrite's + DBM RewriteMap use + simple key/value databases for quick lookups of information. Apache + includes SDBM with its source-code, so this database is always + available. If you would like to use other database types, the + following configure options are available:

    + +
    +
    --with-gdbm[=path]
    +
    --with-ndbm[=path]
    +
    --with-berkeley-db[=path]
    + +
    If no path is specified, Apache will search for the +include files and libraries in the usual search paths. An explict +path will cause Apache to look in +path/lib and +path/include for the relevant files. Finally, +the path may specify specific include and library paths +seperated by a colon.
    +
    +

    Suexec

    1.4 +2 -2 httpd-2.0/docs/manual/mod/mod_auth_dbm.xml Index: mod_auth_dbm.xml =================================================================== RCS file: /home/cvs/httpd-2.0/docs/manual/mod/mod_auth_dbm.xml,v retrieving revision 1.3 retrieving revision 1.4 diff -u -d -b -u -r1.3 -r1.4 --- mod_auth_dbm.xml 23 May 2002 14:50:11 -0000 1.3 +++ mod_auth_dbm.xml 25 Aug 2002 03:53:41 -0000 1.4 @@ -123,7 +123,7 @@ AuthDBMTypeSets the type of database file that is used to store passwords -AuthDBMType default|SDBM|GDBM|DB +AuthDBMType default|SDBM|GDBM|NDBM|DBAuthDBMType defaultdirectory.htaccess @@ -135,7 +135,7 @@

    Sets the type of database file that is used to store the passwords. The default database type is determined at compile time. The availability of other types of database files also depends on -compile-time settings.

    +compile-time settings.

    It is crucial that whatever program you use to create your password files is configured to use the same type of database.

    1.6 +2 -2 httpd-2.0/docs/manual/mod/mod_auth_dbm.html.en Index: mod_auth_dbm.html.en =================================================================== RCS file: /home/cvs/httpd-2.0/docs/manual/mod/mod_auth_dbm.html.en,v retrieving revision 1.5 retrieving revision 1.6 diff -u -d -b -u -r1.5 -r1.6 --- mod_auth_dbm.html.en 2 Aug 2002 04:35:22 -0000 1.5 +++ mod_auth_dbm.html.en 25 Aug 2002 03:53:41 -0000 1.6 @@ -109,7 +109,7 @@

    AuthDBMType Directive

    Description: Sets the type of database file that is used to store passwords
    Syntax: - AuthDBMType default|SDBM|GDBM|DB
    Default: + AuthDBMType default|SDBM|GDBM|NDBM|DB
    Default: AuthDBMType default
    Context: directory, .htaccess
    Override: AuthConfig
    Status: @@ -120,7 +120,7 @@

    Sets the type of database file that is used to store the passwords. The default database type is determined at compile time. The availability of other types of database files also depends on -compile-time settings.

    +
    compile-time settings.

    It is crucial that whatever program you use to create your password files is configured to use the same type of database.

    1.7 +13 -9 httpd-2.0/docs/manual/mod/mod_rewrite.xml Index: mod_rewrite.xml =================================================================== RCS file: /home/cvs/httpd-2.0/docs/manual/mod/mod_rewrite.xml,v retrieving revision 1.6 retrieving revision 1.7 diff -u -d -b -u -r1.6 -r1.7 --- mod_rewrite.xml 31 Jul 2002 05:38:55 -0000 1.6 +++ mod_rewrite.xml 25 Aug 2002 03:53:41 -0000 1.7 @@ -537,16 +537,20 @@
  • - Hash File
    - MapType: dbm, MapSource: Unix filesystem + Hash File
    MapType: + dbm[=type], MapSource: Unix filesystem path to valid regular file -

    Here the source is a binary NDBM format file - containing the same contents as a Plain Text - format file, but in a special representation which is - optimized for really fast lookups. You can create such a - file with any NDBM tool or with the following Perl - script:

    +

    Here the source is a binary format DBM file containing + the same contents as a Plain Text format file, but + in a special representation which is optimized for really + fast lookups. The type can be sdbm, gdbm, ndbm, or + db depending on compile-time + settings. If the type is ommitted, the + compile-time default will be chosen. You can create such a + file with any DBM tool or with the following Perl + script. Be sure to adjust it to create the appropriate + type of DBM. The example creates an NDBM file.

      
      
      
      1.7       +13 -9     httpd-2.0/docs/manual/mod/mod_rewrite.html.en
      
      Index: mod_rewrite.html.en
      ===================================================================
      RCS file: /home/cvs/httpd-2.0/docs/manual/mod/mod_rewrite.html.en,v
      retrieving revision 1.6
      retrieving revision 1.7
      diff -u -d -b -u -r1.6 -r1.7
      --- mod_rewrite.html.en	2 Aug 2002 04:35:22 -0000	1.6
      +++ mod_rewrite.html.en	25 Aug 2002 03:53:41 -0000	1.7
      @@ -951,16 +951,20 @@
               
  • - Hash File
    - MapType: dbm, MapSource: Unix filesystem + Hash File
    MapType: + dbm[=type], MapSource: Unix filesystem path to valid regular file -

    Here the source is a binary NDBM format file - containing the same contents as a Plain Text - format file, but in a special representation which is - optimized for really fast lookups. You can create such a - file with any NDBM tool or with the following Perl - script:

    +

    Here the source is a binary format DBM file containing + the same contents as a Plain Text format file, but + in a special representation which is optimized for really + fast lookups. The type can be sdbm, gdbm, ndbm, or + db depending on compile-time + settings. If the type is ommitted, the + compile-time default will be chosen. You can create such a + file with any DBM tool or with the following Perl + script. Be sure to adjust it to create the appropriate + type of DBM. The example creates an NDBM file.