Expand my Community achievements bar.

Who Me Too'd this topic

Avatar

Level 2

Hi Team,

 

In our system, error handling is done in via dispatcher as there are non AEM pages also in the website. Currently for 404 error,an error page is getting displayed. Now we have a requirement where on visiting a CUG page, and if user is not having access, a different error page should be displayed(not 404 error page). The response code from AEM for cug page is 404. Is there a way we can change the response code to 403?

 

Thanks in advance.

Who Me Too'd this topic