Loading...
Real Time Concepts

Case-Insensitive URL Requests with Apache

Summary

Many users who migrate from Windows environments or from some Shared Webhosting providers will
expect their environment to be case-insensitive. There are two ways that we can enable this functionality -mod_speling or custom mod_rewrite rules

mod_speling

Loading mod_speling

CentOS: mod_speling is already available and loaded.
Ubuntu: mod_speling is available but not loaded. Run the following to activate it:

a2enmod speling
service apache2 restart

Activating Case-insensitive Lookups

In the associated location (vhost config file, main conf file, etc…), add the following directive to force case-insensitive lookups:

CheckSpelling O

Leave a Reply

Your email address will not be published. Required fields are marked *