Expand my Community achievements bar.

ACS error handler for AEM unauthorised pages

Avatar

Level 1

I want to display error messages for unauthorised users when accessing /crx/de or /system/console pages. I have setup ACS error handler and its working fine for pages in the website - 404 not found, etc. But how do I make this work for unauthorised users accessing AEM pages. 
Thanks in advance for any advice. 

JyothiM_0-1740519513706.png

 

4 Replies

Avatar

Administrator

@arunpatidar @Rohan_Garg @sarav_prakash @anupampat @martin_ecx_io @stiegjo22 @Tad_Reeves @Ravi_Pampana @PcProf  could you take a look at this question and share your thoughts? Your input would be really helpful!



Kautuk Sahni

Avatar

Community Advisor

Avatar

Level 1

Hi @arunpatidar,

 

Thanks for the reply. 

I already have ErrorDocument added in my dispatcher vhost file. But still its showing the default error messages for /crx/de and other console pages when accessed. 

 

ErrorDocument 404 /error/404.html
ErrorDocument 500 /error/500.html
ErrorDocument 403 /error/403.html

 Please suggest on how to get this working for AEM console pages.

Avatar

Community Advisor

Hi @JyothiM 

Can you try debugging on diapathcer, I can see that for non-authorized user, /crx/de/ returns 404



Arun Patidar