Bug 26462 - RewriteMap urlmap txt of same age get confused between vhosts
Summary: RewriteMap urlmap txt of same age get confused between vhosts
Status: CLOSED FIXED
Alias: None
Product: Apache httpd-1.3
Classification: Unclassified
Component: mod_rewrite (show other bugs)
Version: 1.3.29
Hardware: PC Linux
: P3 normal (vote)
Target Milestone: ---
Assignee: Apache HTTPD Bugs Mailing List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-01-27 13:49 UTC by Jens Chr. Bachem
Modified: 2004-11-16 19:05 UTC (History)
0 users



Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jens Chr. Bachem 2004-01-27 13:49:08 UTC
I've got four vhosts using different txt RewriteMaps. All of them contain an
entry with key '/' besides others which are unique. The maps are generated
automatically. If the maps are of the same age (generation is very fast) the
entries for '/' behave as configured round-robin. The effect disappears as soon
as I slow down the map generation to get different timestamps for the map files.

Configfiles can be supplied if they are considered relevant.
Comment 1 André Malo 2004-02-21 19:05:27 UTC
Yep, your config would be of interest.

Thanks.
Comment 2 André Malo 2004-04-10 20:55:58 UTC
(I've received the config via mail)

Sorry for the long delay.

However, the problem is, that you're using the same name for the maps, which
confuses the rewritemap cache. The problem is fixed now in 2.1 and I'm going to
propose it for backport into 2.0 and 1.3 branches.

I've uploaded a patch for 1.3 here:
<http://www.apache.org/~nd/mod_rewrite-confusion-1.3.patch>.

Thanks for the report and thanks for using Apache.
Comment 3 André Malo 2004-08-20 21:24:33 UTC
The fix will be in 1.3.32.