The all of these redirects are then downloaded by Apache and converted into a DB, which can be updated with zero downtime! Because this DB is set up as an optimized Hashed lookup, the this solution scales better than conf or text files.
Finally, from an adminstrative perspective, the Redirect Map Manager has a preview where administrators can check the file, get the path to the published file and see any errors. The process will validate for entries containing whitespace (which cause issues in Redirect Maps), excludes them and displayed in a warning in preview.
Read more about setting up, configuring and using the Redirect Map Manager on the ACS AEM Commons website.
This new tool is available in the latest version of ACS AEM Commons, version 3.13.0.
Stay tuned for our next post in Mastering the AEM Dispatcher series, where we’ll discuss supporting multiple sites in the AEM Dispatcher.