Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

i have moved my html only (not dinamic site) from windows server to linux server now i've problem with casesensitive url's.

for example: i've a file named "Test.htm" and i can't access the file when i type "test.htm" ..

i've tried to modify .htaccess file but failed, i've not enough knowledge for this.

can you recommend me how can i handle this problem,i m looking for better solution then changing all the filenames and url's.


share|improve this question
The URLs are not case-sensitive, the underlying file system is. – jscott Aug 19 '10 at 13:35
@jscott, URLs are case-sensitive. Whether the mapping to a file is depends on the underlying file system. – Bruno Apr 27 '12 at 14:21
up vote 4 down vote accepted

If you use Apache, try this solution:

Add this line to /etc/apache2/mods-available/speling.load:

CheckSpelling on

Enable speling module by this command:

a2enmod speling

And restart Apache:

/etc/init.d/apache2 restart

Otherwise I strongly recommend to have strict name convention of files that matches with their URL.

share|improve this answer
If you want mod_spelling to just fix the case of the URLs you should use the following directive too: CheckCaseOnly On – Khai Aug 19 '10 at 13:19

You can either use mod_speling for a solution for this problem in your web server or use something like ciopfs to solve the problem on the file system level (without renaming the files, which would be the best solution).

I'd go with mod_speling and progrssively fix the filenames and their links in your web pages.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.