Mastering the AEM Dispatcher Part 2: Case Insensitive URLs

Published on by Dan KlcoPicture of Me Dan Klco

In this second post in my series, Mastering the AEM Dispatcher. In this post, we'll discuss how to support case-insensitive URLs in the AEM Dispatcher running on Apache httpd. For customers coming from websites hosted on case-insensitive web servers, such as Microsoft IIS, moving to Apache can be a challenge. In a case-insensitive web server, the URL is functionally equivalent of In Apache httpd, which is case-sensitive, these are two different URLs and requesting a page at My-Page.html when the page is named my-page.html will result in a 404 error. Further complicating things, you have two cases you'll need to handle when moving from a case-insensitive web server to AEM Dispatcher on Apache httpd. You will need to support both case-insensitive URLs as well as case-insensitive redirects, so visitors to your old pages are redirected to the new AEM page.   Supporting Case Insensitive Requests   Luckily, Apache has a module made...