I'm trying to customize error page redirection by overlaying "apps/sling/servlet/errorhandler" according to this guide: https://experienceleague.adobe.com/docs/experience-manager-cloud-service/content/implementing/develo...
It works well on local AEM instance. But CRXDE editing is not available on AEM as a Cloud Service. Is there any way to deploy/overlap Sling errorhandler codes to /apps within Cloud Service pipeline?
Solved! Go to Solution.
@ronnie_c You need to commit the changes in your code repository and deploy changes to AEMaaCS via Cloud Manager.
Also, have you explored ACS Commons Error page handler capability  ?
Thanks for replying. I've checked out ACS Commons Error Page Handler. It also needs to create overlay jsp files under /apps.
Do you know at which directory or path I should put jsp file in code repository to make mvn install or pipeline deploy correctly? I've tried at "/ui.apps/src/main/content/jcr_root/apps/servlet/errorhandler" but it doesn't work.
After I corrected jsp path, Maven did not install it when testing on my local AEM CRXDE. Maybe there is restriction or something wrong in pom configuration...
In case if you are looking for just showing 404 and other custom error pages. You can do this directly at apache server