apacheurlmod-rewrite

Case Insensitive URLs with mod_rewrite


I'd like for any url that doesn't hit an existing file, to do a lookup on the other possible cases and see if those files exist, and if so, 302 to them.

If that's not possible, then I'm ok with these compromises:

For example http://example.com/CoOl/PaTH/CaMELcaSE should redirect to http://example.com/cool/path/camelCase (assuming the latter exists).

but of course a full solution is much more useful to me and others


Solution

  • CheckSpelling on
    

    Matches files and directories. See the documentation for details.