Home > Software, ubuntu > Making Apache case-insensitive

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.

Categories: Software, ubuntu
  1. makais
    June 22, 2011 at 2:43 pm

    great tip thanks

  2. August 28, 2014 at 8:35 pm

    nice tip.

  3. October 30, 2014 at 12:35 am

    Thanks, but tried on my website IFSC Codes, it’s not working, please advice

  4. November 27, 2015 at 1:48 pm

    Thank you! Saved my life :3

  5. fran008
    November 18, 2016 at 5:28 pm

    Thanks dude

  1. May 19, 2008 at 5:28 pm
  2. November 21, 2010 at 7:27 pm
  3. May 8, 2011 at 10:14 am
  4. September 6, 2013 at 3:59 am

Leave a Reply

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: