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
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
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
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: