www-apache-bugdb mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael Paesold <michael.paes...@sein.at>
Subject mod_rewrite/7824: dbm lookups fail silently (txt works ok)
Date Tue, 05 Jun 2001 18:07:15 GMT

>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 <apbugs@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!     ]
 
 


Mime
View raw message