B2C Commerce では、アプリケーションサーバーが応答できない場合などに Web Adapter がエラーページを表示します。この記事では、Business Manager にアップロードするカスタムエラーページ (url_error.html、majorerror.html、overload.html) の役割と表示条件を説明します。
この記事は、B2C Commerce のカスタムエラーページがどのような場合に表示されるか、また表示をどのように確認できるかという質問に答えます。
B2C Commerce では、ブラウザからのアクセスは Web Adapter (Web サーバー) を経由して、アプリケーションサーバーに到達します。アプリケーションサーバーが応答できる場合は、カートリッジで実装したエラーページを表示できるため、Web Adapter のエラーページは使用されません。
アプリケーションサーバーが応答しないなどの理由で、Web Adapter がエラーページを表示する場合があります。この場合に表示されるページを、Business Manager の「管理 > サイトの開発 > カスタムエラーページ」からアップロードするカスタムエラーページに置き換えることができます。
Web Adapter 側のカスタムエラーページとして、次の 3 種類を設定できます。
カスタムエラーページを設定していない場合は、「URL Not Found」や「Transmission Problems」といったデフォルトのページが表示されます。カスタマイズは必須ではありません。デフォルトの表示が要件に合わない場合に、作成を検討してください。
カスタムエラーページは、サイト単位ではなく環境単位で設定します。そのため、条件によってはストアフロントへのアクセス時だけでなく、Business Manager へのアクセス時にも表示される場合があります。
アプリケーションサーバーの停止や高負荷の状態を意図的に再現することは難しいため、次の URL にアクセスして表示を確認します。{ホスト名} には、確認する環境のホスト名を指定します。
url_error.html は、存在しない URL にアクセスして表示を確認することもできます。たとえば https://{ホスト名}/foo/bar といった URL で、url_error.html が表示できます。
005466718

We use three kinds of cookies on our websites: required, functional, and advertising. You can choose whether functional and advertising cookies apply. Click on the different cookie categories to find out more about each category and to change the default settings.
Privacy Statement
Required cookies are necessary for basic website functionality. Some examples include: session cookies needed to transmit the website, authentication cookies, and security cookies.
Functional cookies enhance functions, performance, and services on the website. Some examples include: cookies used to analyze site traffic, cookies used for market research, and cookies used to display advertising that is not directed to a particular individual.
Advertising cookies track activity across websites in order to understand a viewer’s interests, and direct them specific marketing. Some examples include: cookies used for remarketing, or interest-based advertising.