You are viewing a plain text version of this content. The canonical link for it is here.
Posted to apache-bugdb@apache.org by Michael Paesold <mi...@sein.at> on 2001/06/05 20:07:15 UTC
mod_rewrite/7824: dbm lookups fail silently (txt works ok)
>Number: 7824
>Category: mod_rewrite
>Synopsis: dbm lookups fail silently (txt works ok)
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: apache
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: apache
>Arrival-Date: Tue Jun 05 11:10:00 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator: michael.paesold@sein.at
>Release: 1.3.20
>Organization:
apache
>Environment:
Redhat 7.0, glibc-2.2
gcc version 2.96 20000731 (Red Hat Linux 7.0)
Linux * 2.2.16-22smp #1 SMP Tue Aug 22 16:39:21 EDT 2000 i686 unknown
>Description:
apache is compiled with
EXTRA_LIBS=-lgdbm, EXTRA_INCLUDES=-I/usr/include/gdbm
to get mod_rewrite compiled correctly with dbm support.
i used makemap and the .db generation perl script from the server docs (mod_rewrite) to generate the db files. both produce the same.
the use of dbm fails with this output into the rewrite log:
[*/sid#812965c][rid#813fcdc/initial] (6) cache lookup FAILED, forcing new map lookup
[*/sid#812965c][rid#813fcdc/initial] (5) map lookup FAILED: map=vhost[dbm] key=www.example.com
[*/sid#812965c][rid#813fcdc/initial] (4) RewriteCond: input='' pattern='^/(.*)$' => not-matched
So, i don't really know, why this does not work at all. It works fine with the text version, but fails with dbm.
>How-To-Repeat:
RedHat 7 base system, apache 1.3.20
compile, install, use dbm: maps in mod_rewrite...
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted:
[In order for any reply to be added to the PR database, you need]
[to include <ap...@Apache.Org> in the Cc line and make sure the]
[subject line starts with the report component and number, with ]
[or without any 'Re:' prefixes (such as "general/1098:" or ]
["Re: general/1098:"). If the subject doesn't match this ]
[pattern, your message will be misfiled and ignored. The ]
["apbugs" address is not added to the Cc line of messages from ]
[the database automatically because of the potential for mail ]
[loops. If you do not include this Cc, your reply may be ig- ]
[nored unless you are responding to an explicit request from a ]
[developer. Reply only with text; DO NOT SEND ATTACHMENTS! ]