> Jos,
> 
> You need to regenerate your DBM files from the original text source
> files using the httxt2dbm utility that ships with httpd.
> 
> If your RewriteMap directive looks something like:
> 
>     RewriteMap mymap "dbm:/path/to/mapfile.map"
> 
> Then you should have a corresponding text file (e.g. mapfile.txt) with
> your key-value pairs, one per line, space-separated:
> 
>     key1 value1
>     key2 value2
> 
> Rebuild it with:
> 
>     httxt2dbm -i /path/to/mapfile.txt -o /path/to/mapfile.map
> 
> That's it. The httxt2dbm utility will use whatever DBM library httpd was
> built against (which, after your FreeBSD upgrade, is now the base libc
> BerkeleyDB 1 instead of the ports BerkeleyDB 5).
> 
> If you have multiple RewriteMap DBM files, repeat for each one.
> 
> After rebuilding, do a graceful restart to pick up the new files:
> 
>     apachectl graceful
> 
> Note: if you don't still have the original text source files, you'll
> need to recreate them. The old DBM files in the deprecated format can't
> be read by the new library, which is why the rebuild is necessary.
> 
> --Rich
> [email protected]


— 
Rich Bowen
[email protected]




Reply via email to