httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "William A. Rowe Jr." <wr...@rowe-clan.net>
Subject Re: [Proposal for trunk] Extending RewriteMap, Reusing ip network matches
Date Thu, 17 Dec 2009 22:14:24 GMT
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.


Mime
View raw message