Re: [EMAIL PROTECTED] RE: case insensitive rewrite rules and nested mapping

2006-09-05 Thread Bob Ionescu
Chen, Charles wrote: I didn't know I could use $1 in this way: i.e., back referenced in condition before the rule. The order of processing is rule-pattern --> condition(s) --> rule-substitution So back references created in the rule-pattern will be available in the test string of the conditio

RE: [EMAIL PROTECTED] RE: case insensitive rewrite rules and nested mapping

2006-09-05 Thread Chen, Charles
EMAIL PROTECTED] RE: case insensitive rewrite rules and nested mapping Chen, Charles wrote: > here, "/NeWs" first mapped to all upper case "NEWS" and then used to > lookup another map in which I have a line like this: > # my text map file > > NEWS /some/other/url

Re: [EMAIL PROTECTED] RE: case insensitive rewrite rules and nested mapping

2006-09-05 Thread Bob Ionescu
Chen, Charles wrote: here, "/NeWs" first mapped to all upper case "NEWS" and then used to lookup another map in which I have a line like this: # my text map file NEWS /some/other/url What about using a condition to get the value: RewriteMap somemap txt:somemap.map RewriteMap toupper int:toup

[EMAIL PROTECTED] RE: case insensitive rewrite rules and nested mapping

2006-09-04 Thread Chen, Charles
  Hi,     I need a case insensitive url rewrite such as     http://proxyhost/NeWs   would be rewritten to:     http://realserver/some/other/url   here, "/NeWs" first mapped to all upper case "NEWS" and then used to lookup another map in which I have a line like this: