Bug 47484 - Spurious RewriteLock warning when using external maps
Summary: Spurious RewriteLock warning when using external maps
Status: NEW
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: 2009-07-06 15:15 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.