On 10/21/05, Bill Parker <[EMAIL PROTECTED]> wrote:
> Well, the goal is to simply make everything in the URL which is received by
> APACHE lower case, as case sensitivity is a(n) issue on unix/linux/etc.  In
> windows it doesn't matter, since filenames are case insensitive (hope that
> clears up the confusion)...
>

Well, you just changed your question.  Mapping to all-lowercase is
actually possible, as opposed to general case-insensitivity which is
not possible (and, in addition, not advisable, since proxy caches,
search engines, etc are all case sensitive).

Something like:

RewriteEngine On
RewriteMap lc int:tolower
RewriteRule (.*) ${lc:$1} [R]

(The [R] on the end is not strictly necessary, but is highly
recommended unless you want many variants of your URLs to propogate to
search engines and caches.)

Joshua.

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: [EMAIL PROTECTED]
   "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to