Windows to Linux Migration. Case Sensitive URLs

I’ve inherited a nightmare!

Scenerio:
The customer recently moved from Windows 2K3 hosting, to a lamp server. Windows 2K3 is case insensetive, where Linux is case sensitive. Over the years they have had a bad habit of marketing URLs with a combination of lower/uppercase letters. This was fine on the Windows Machine, but now that they are back to the world of standards, they are finding it does not work so well.

A lot of this marketing was print, therefore I need to make sure the printed URL’s all get to the correct location.

Can this be done with htaccess, or better yet, within the Apache/Site config using mod-rewrite? If so - can someone post an example of a redirect line so I know where to start.

Example:
Printed URL: www.mydomain.com/SitePoint
Actual URL: www.mydomain.com/sitepoint

I need to be certain that no matter what the user enters in the address bar they land on the actual URL.

One thing I cannot do is a blanket correction and make all URLs lower case. This site is thousands of pages in size, and has many URL parameters. I don’t want to mess with the overall structure, just specific URL’s that are causing problems.

coda,

What you REALLY need is mod_speling as it will correct spelling errors which includes capitalization. It works a treat!

BTW, the module creators thought it was funny to misspell spelling in the module name so it IS typed correctly above.

Regards,

DK

Thanks for the tip, I’ll give it a try.

You were right, it works great!
It was already enabled on the server, I just had to turn it on.

Thanks again!

coda,

Don’t tell anyone! It’s a little known secret that works a treat! :lol:

Regards,

DK

I didn’t see anything, I promise.

:lol: Good, it’ll be our little secret!

Regards,

DK

Sheesh I always wondered why it was called that. I wondered if it was a sort of mod_pony or something : )

SP,

Ssssshhhh! Don’t tell anyone how great mod_speling is!

Regards,

DK