Expand my Community achievements bar.

Don’t miss the AEM Skill Exchange in SF on Nov 14—hear from industry leaders, learn best practices, and enhance your AEM strategy with practical tips.
SOLVED

AEMaaCS + ACS Commons redirect manager: how does it work?

Avatar

Level 9

According to this => https://adobe-consulting-services.github.io/acs-aem-commons/features/redirect-manager/index.html, Redirect manager is compatible with AEMaaCS but I'm unsure how to get the Cron+bash script (the script that downloads the redirect maps from publisher) into the dispatcher.

I am not sure if AEMaaCS lets customers run cron job.

 

Thanks

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

Redirect Manager allows content authors to maintain and publish redirect configurations from AEM. Support for redirects is implemented as a servlet filter which evaluates redirect configurations and issues a 302 or 301 respectively in case of a matching incoming request url.



Arun Patidar

View solution in original post

5 Replies

Avatar

Correct answer by
Community Advisor

Redirect Manager allows content authors to maintain and publish redirect configurations from AEM. Support for redirects is implemented as a servlet filter which evaluates redirect configurations and issues a 302 or 301 respectively in case of a matching incoming request url.



Arun Patidar

Avatar

Level 9

Thanks for the response.

 

In previous versions of ACS commons, I had to write a bash script (auto-run using cron) that downloads the redirect maps from the publisher into the server running Apache HTTPD.

 

 

Avatar

Level 1

When creating a custom redirect in AEM, where does your implementation of 

LocationHeaderAdjuster

go in the core package? It doesn't work in servlet - or so it seems

Avatar

Level 1

This would push the execution of redirects to the AEM publisher instead of the dispatcher. Is that correct? I'm concerned about the load implications on the publisher.

Avatar

Employee

@jayv25585659 @d8v15 @BP_BradCo @arunpatidar Please take a look at Pipeline-free URL Redirects - redirects management using Apache HTTP Server mod_rewrite's RewriteMap in AEM as a Cloud Service without Cloud Manager pipeline execution: https://experienceleague.adobe.com/en/docs/experience-manager-cloud-service/content/implementing/con...
(requires AEM CS release version 18311 or higher - see https://experienceleague.adobe.com/en/docs/experience-manager-release-information/aem-release-update...)