httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joshua Slive <>
Subject Re: [users@httpd] mod_rewrite NC with external map
Date Tue, 02 Nov 2004 14:50:42 GMT
On Tue, 02 Nov 2004 15:33:49 +0100, Stefan Cars <> wrote:
> Hi!
> I'm having problem with the rewrite situation below. What I want todo is
> to do a lookup in a file if there is an entry and in that case redirect
> it. It works perfectly if you type the URL as entered in the textfile
> BUT i want match non case sensitive. That means if you have entered
> "hello" in the file "Hello" should work aswell. Is there a way to do this ?
> RewriteCond     ${users:$1|NOT-FOUND}   !=NOT-FOUND     [NC]
> RewriteRule     /(.*)$  ${users:$1}     [NC]

No, I'd guess that this isn't possible.  The [NC] refers only to the
comparison between the map lookup and the NOT-FOUND.  In your case,
you want a case-insensitive map lookup.  I don't believe this is
possible without hacking the code.


The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message