Enabling mod_spelling and mod_rewrite to correct mixed case letters on webpages

Hi, My problem is that webpages were designed under windows with folder and file names with mixed case, now apache can not find the correct webpage, imagen or document due to this. It seems that mod_spelling and mod_rewrite can fix this problem. How can I install or setup them with webmin or virtualmin pro?

Status: 
Closed (fixed)

Comments

Howdy -- both mod_rewrite and mod_speling are installed by default on a CentOS 5 system, and loaded into Apache.

All you would need to do from there is configure them to work as you require.

I haven't attempted such a setup before, but you can see the documentation for mod_speling here:

http://httpd.apache.org/docs/2.2/mod/mod_speling.html

What you could do is go into the public_html folder for the user you want this enabled for, create a .htaccess file, and add something like one of these this to that file:

CheckCaseOnly On

or

CheckSpelling on

It was quite easy to set it up, just create .htaccess as you said and drop these two lines there:

CheckCaseOnly On CheckSpelling On

and the problem with upper and lower case (ignoring capitalization) in the webpages is fixed. I do remember to have set it up more complex with cpanel.

Thanks a lot!