Bug 49639 - RewriteMap lookup fails silently on permission error
Summary: RewriteMap lookup fails silently on permission error
Alias: None
Product: Apache httpd-2
Classification: Unclassified
Component: mod_rewrite (show other bugs)
Version: 2.2.15
Hardware: Sun Solaris
: P2 minor (vote)
Target Milestone: ---
Assignee: Apache HTTPD Bugs Mailing List
Keywords: FixedInTrunk
Depends on:
Reported: 2010-07-22 14:04 UTC by Vitaliy Shchupak
Modified: 2012-02-26 17:07 UTC (History)
0 users


Note You need to log in before you can comment on or make changes to this bug.
Description Vitaliy Shchupak 2010-07-22 14:04:49 UTC
If you have a RewriteMap txt configuration and the apache user does not have permission to read the map file, the map lookup just fails silently without any errors.  An error is only reported in the error log when apache cannot stat the map file.

The correct behavior should be to log an error when apache either can't read or can't stat the map file.
Comment 1 Stefan Fritsch 2010-08-18 16:38:16 UTC
Fixed in trunk in r986921
Comment 2 Stefan Fritsch 2012-02-26 17:07:22 UTC
fixed in 2.4.1