"RewriteMap"s inefficient (was: [Zope-dev] Apache Mod_rewrite question)

Ganesha Shanmuganathan sganesh at zeomega.com
Fri Jul 16 23:11:42 EDT 2004


Hi Dieter,

On Fri, 2004-07-16 at 13:10, Dieter Maurer wrote:
> Ganesha Shanmuganathan wrote at 2004-7-15 15:57 -0500:
> > ... RewriteMap files with the same name are identified ...
> >That is strange! It looks like a bug in mod_rewrite then. I checked the
> >source and found that it does compare by map name. Thanks for your
> >feedback
> 
> But the cache is not taken from a global variable but resolved
> via a local resource.
> 
> I am not sure what this local resource is (I am no Apache expert).
> But, I expect that it is virtual host specific.

>From what I understand, it is stored as static global (as APR table with
APR mutex control for accessing by threads).

I changed it to use key,map_file_name and it works for me. I have a
writeup at http://www.izpug.org/Members/zeomega/mod_rewrite, for more
information in case you are interested.

thanks,
ganesh

Zeomega LLC
Open minds' Open Solutions

Plano, Texas, USA
Bangalore, India
phone: 972-731-6750
http://www.zeomega.com



More information about the Zope-Dev mailing list