Re: httxt2dbm - DB file not completely rewritten

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Finally, I found that an issue was raised : 

Bug 51372 httxt2dbm does not remove map entries

It was solved by a documentation update in Apache trunk.

As a matter of fact, the Apache 2.4 documentation says :

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

Apache 2.2 documentation was not updated yet.


2015-06-23 15:10 GMT+02:00 Antoine Prevosto <antoine.prevosto@xxxxxxxxx>:
Hi Rainer,

I have the same issue ... 5 years later ;) with Apache 2.2.22, and even with Apache 2.4.10.

Did you get an explanation (or I will raise an issue).

Thanks
Antoine.

2010-04-01 13:32 GMT+02:00 Rainer Frey <rainer.frey@xxxxxxxxxx>:
I use DBM rewrite maps (apache 2.2.9 - package 2.2.9-10+lenny6) on debian 5
with BerkeleyDB 4.6 (package 4.6.21-11). I generate the DB files with
makefiles that call httxt2dbm on potentially already existing DB files.

When entries are added to the source files, it works fine. But when entries
are deleted from the source files, the DB files still contain the entries and
lookup succeeds (and yes, I verified that the DB file is indeed updated).I
also grepped the db file for the key to verify that it is indeed in the file
(and not a cached result in apache).

Is this a bug in httxt2dbm, or is my expectation wrong? Thanks for any
comments!

Rainer



---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx




[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux