Bug 47484 - Spurious RewriteLock warning when using external maps
Summary: Spurious RewriteLock warning when using external maps
Status: RESOLVED FIXED
Alias: None
Product: Apache httpd-2
Classification: Unclassified
Component: mod_rewrite (show other bugs)
Version: 2.5-HEAD
Hardware: All All
: P2 normal (vote)
Target Milestone: ---
Assignee: Apache HTTPD Bugs Mailing List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-07-06 15:15 UTC by John Morrissey
Modified: 2019-09-13 14:52 UTC (History)
0 users



Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description John Morrissey 2009-07-06 15:15:39 UTC
mod_rewrite generates spurious warnings:

[Mon Jul 06 21:03:10 2009] [warn] mod_rewrite: Running external rewrite maps without defining a RewriteLock is DANGEROUS!

when external maps (prg:) are configured and APR_LOCK_DEFAULT uses a method that does not require an external file (APR_USE_SYSVSEM_SERIALIZE, for example).

Dunno if using apr_proc_mutex_defname() in mod_rewrite to only issue this warning for methods that require files is useful.
Comment 1 Joe Orton 2019-09-13 14:52:25 UTC
2.4.x doesn't have this warning any more.