4.8-RELEASE-p9 RewriteMap claims that db is an invalid dbm type. It works fine in Apache-2.0.47, but is broken in Apache-2.0.48. This issue is similar to those found in bug reports 14748 and 9789. It appears that Berkeley DB support is built into -lc, which the configure script doesn't check (it seems to check for ndbm though). Apache 2.0.47: ...(lots of other DBM checks)... checking for db.h... (cached) yes checking for dbopen in -lc... yes checking for Berkeley DB... found db1 checking for default DBM... sdbm (default) Apache 2.0.48: ...(lots and lots of other DBM checks - Mostly for Berkeley) checking for db.h... yes checking for dbopen in -ldb1... no checking checking for Berkeley DB 1 in the standard places... checking db_185.h usability... no checking db_185.h presence... no checking for db_185.h... no checking for Berkeley DB... not found checking for default DBM... sdbm (default) Looks like the code from 2.0.47 in srclib/apr-util/configure around line 9050 is what finds it. Thanks
A different search yielded bug #24337, which this bug is a duplicate of... If this has any helpful info, great, if not, you can resolve as duplicate.
*** This bug has been marked as a duplicate of 24337 ***
Problem 3 When you compile using included-apr/apu, with berkeley db, its not compiled with berkeley db
CC myself on FreeBSD related bugs
This should be fixed at least in the ports system with www/apache22 ./configure flags for apache 2.0.x should take care of this.