コミュニティアチーブメントバーを展開する。

Mark Solution

この会話は、活動がないためロックされています。新しい投稿を作成してください。

解決済み

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

Avatar

Level 10

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

トピック

トピックはコミュニティのコンテンツの分類に役立ち、関連コンテンツを発見する可能性を広げます。

1 受け入れられたソリューション

Avatar

正解者
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...)

 

元の投稿で解決策を見る

3 返信

Avatar

Administrator

@Jörg_Hoh Requet your review to this post. 



Kautuk Sahni

Avatar

正解者
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...)

 

Avatar

Level 10

Thankyou @Jörg_Hoh !

 

This has solved the problem.