Making Apache case-insensitive

Apache is case sensitive on *nix systems, since the underlying file system is case sensitive. This can cause trouble with sites brought over from case-insensitive systems. It is relatively easy to remove that sensitivity with the apache module check_speling (funny name, huh?). It will also remap mistyped urls when possible, mapping index.htm to the proper index.html, etc.

This is the procedure for Ubuntu/Debian systems.

  1. From the command line, type sudo su to get root privileges.
  2. nano /etc/apache2/mods-available/speling.conf
  3. Type CheckSpelling on and hit ctrl-x, y to exit and save the file.
  4. type a2enmod and then speling and hit enter.
  5. type /etc/init.d/apache2 reload to reload apache.
  6. Mistype a url to test it.

I learned about Debian Apache module management from here.

One Response to “Making Apache case-insensitive”

  1. Groß und Kleinschreibung - Server Support Forum Says:

    [...] Ein kleines bisschen Google quälen und man kommt auf folgendes: Making Apache case-insensitive « Keystone IT Tech Wieso müssen wir hier eigentlich immer die sein, die für euch Google bedienen? [...]

Leave a Reply

You must be logged in to post a comment.