Joshua Slive <[EMAIL PROTECTED]> writes:

> [EMAIL PROTECTED] wrote:
> > trawick     2002/08/23 05:49:08
> >   Modified:    .        CHANGES
> >                modules/mappers mod_rewrite.c mod_rewrite.h
> >   Log:
> >   add the ability to specify the dbm type (e.g., gdbm, ndbm) for
> >   dbm rewrite maps
> >     use dbm:filename for the default type
> >     use dbm=TYPE:filename for a non-default type
> 
> Jeff: If I wanted to help you out by updating the documentation for
> this, what would I say about the different dbm types that are
> available?
> 
> I suppose it is the same as for AuthDBMType (sdbm|gdbm|ndbm|db)?
> 
> What are the compile-time settings necessary to enable these various
> types, and how would a user tell which types are available?

just to add my 2cents to what other folks mentioned...

Maybe we should create some doc describing Apache's dependency on
support libraries in general, and mention aspects of the apr and
apr-util configuration which affect Apache functionality?    The
descriptions of AuthDBMType and RewriteMap could point to some text in
that doc.

As you implied, an easy way is needed to determine the available dbm
types.  Until apr-util provides an appropriate run-time mechanism we
could change httpd -V outoupt to display a string like

  Available dbm types: sdbm|db

based on the build of apr-util which Apache was compiled with (which
for now is just about always the build of apr-util which Apache runs
with.

Alternatively, this could take the form

  -D APU_HAVE_SDBM
  -D APU_HAVE_DB

to be consistent with most of the other httpd -V output.

(I appreciate your desire to help.  I started looking at this a couple
of days ago and wasn't happy with the situation either :) )

-- 
Jeff Trawick | [EMAIL PROTECTED]
Born in Roswell... married an alien...

Reply via email to