Forum Moderators: phranque
The thread I gave you has all the answers you are looking for...
For your information, using htaccess is not recommended for newbies, specially if just want to a cut and paste. It is a must you go through the all jdMorgan's post !
Sorry, I can't help you... Everything is there, use the "Uppercase to lowercase conversion plug-in" then do a simple and basic redirect.
Sweet... Thanks jdMorgan for this great thread !
Yes, this problem is more complicated than the relatively-simple uppercase-to-lowercase translation implemented in the cited thread. Also, the solution in that thread was intended for use in .htaccess, and is quite inefficient compared to methods available at the server config level -- i.e. RewriteMap.
I would suggest using RewriteMap to pass all requests with percent-encoded characters to a "translation" script (coded in PERL), which will then return the 7-bit ASCII (or UTF-8) character string to mod_rewrite.
In order to detect the percent-encoded characters, you'll likely need to use a RewriteCond to examine the server variable %{THE_REQUEST}, which will contain the (encoded) request exactly as sent by the client.
Please review our Apache forum Charter for references and information on how to get the most from this forum.
Thanks,
Jim