By default, websites powered by Apache HTTP Server are case sensitive. That means yourwebsite.com/Bunnies will take you to a different page than yourwebsite.com/bunnies. Generally speaking it is a good idea to leave this default configuration as is. There are, however, instances when you might want Apache to be case insensitive. For example, if you have transferred your site over from Windows and Micorosft IIS web server, you may have some pages or directories that were dependent on case insensitivity.
The solution involves a simple Apache module called mod_spelling. Using it, Apache will check the spelling of any files users attempt to access and match the correct ones when they are spelled improperly. It will also check for files that may have the wrong case, whether uppercase or lowercase.
To enable mod_spelling once installed, type this directive into your Apache configuration file:
If you applied this to your global configuration, you may need to restart Apache for the settings to take effect. From that point forward, your URLs should work no matter how a user remembers the case.
- How to Disable Unneeded Apache Modules
- Apache Tip #2: Use Configtest to Try Configurations Before Using
- Apache Tip #1: Limit User htaccess Power
- How to Hide Files from Apache Directory Listings
- How to Configure PHP Settings for Your Server