Rainer Jung wrote:
> 1) Extending RewriteMap
> =======================
> 
> I plan to extend key file handling in text file RewriteMap. At the
> moment keys are always matched as exact strings against the map. I want
> to add the ability to alternatively
> 
> a) match via regexp (and replace backreferences in the found values)
> b) match via ip network notation like e.g. used in "Require ip ..."
> 
> This could be expressed in the configuration by adding another token
> after type:source, e.g. "exact", "regexp", "ip", where "exact" is the
> default.

-1; you are going to completely hide the performance penalty from the
user's attention.  In order to identify this properly, please extend with
an alternate directive to activate this (slower) mapping, e.g. RewriteList
or some such.

Reply via email to