I would like URLs like server.com/foo to be case-insensitive. But server.com/foo actually gets mod_rewrite\'d to server.com/somedir/foo
(Assume that all the files in
I would make it a 301 redirect, NOT a URL rewrite, for SEO purposes:
RewriteMap tolower int:tolower RewriteRule ^([^/]+)/?$ somedir/${tolower:$1} [R=301,L]