LoginSignup
2
0

More than 1 year has passed since last update.

【AWS】 「This XML file does not appear to have any style information associated with it. The document tree is shown below.」への対応を、CloudFront Behaviorパスパターンで解決

Posted at

はじめに

This XML file does not appear to have any style information associated with it. The document tree is shown below.

「ああ。このエラーな。どうせ、CloudFrontとかS3のデフォルトルートオブジェクトがずれているのだろう」
と思ってみてみても、ずれていない。

何でだってなっているときに、調べたときのメモ。

内容

構成

「CloudFront + S3 + (WAF + API Gateway + Lambda)」

原因

403エラーの時の、CloudFrontのBehaviorパスパターンをしっかり設定していなかった。

解決

403の時に、CloudFrontのBehaviorパスパターンを適切なファイルに流れるようにしたら解決した。

参考

2
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
2
0