Expand my Community achievements bar.

SOLVED

AEM Dispatcher ErrorDocument URL not showing up for 500 error codes only

Avatar

Community Advisor

Hello Adobe Community,

 

Need your help!

 

I have the below Error Document vhost configuration written for my site as quoted below -

 

<LocationMatch />
ErrorDocument 404 /content/wknd/404.html
ErrorDocument 500 /content/wknd/500.html
</LocationMatch>

 Now, 404 are handled well, but if let's say a page is throwing 500 I am not getting redirected to the 500 error page as configured above.

 

Can anyone please suggest what could be a potential issue here?

 

Thanks,

Tanika

Topics

Topics help categorize Community content and increase your ability to discover relevant content.

1 Accepted Solution

Avatar

Correct answer by
Employee Advisor

Can you check the DispatcherPassError configuration setting in the dispatcher_vhost.conf (if you were starting with a recent archetype version).

You should set

 

DispatcherPassError 1

 

then the dispatcher will also delegate the error code handling for the httpd.

 

(see the documentation https://experienceleague.adobe.com/docs/experience-manager-dispatcher/using/getting-started/dispatch...)

 

View solution in original post

3 Replies

Avatar

Administrator

@Jörg_Hoh Requet your review to this post. 



Kautuk Sahni

Avatar

Correct answer by
Employee Advisor

Can you check the DispatcherPassError configuration setting in the dispatcher_vhost.conf (if you were starting with a recent archetype version).

You should set

 

DispatcherPassError 1

 

then the dispatcher will also delegate the error code handling for the httpd.

 

(see the documentation https://experienceleague.adobe.com/docs/experience-manager-dispatcher/using/getting-started/dispatch...)