400 ERROR: The request could not be satisfied

1

I am deploying the system on cloudfront services, When I type Url: domain.com/%d it shows "400 ERROR" page. I want it to return to index.html page when the link is wrong. I don't know if this is a Bug or a feature. Example: Link: https://booking.com/%d Enter image description here

BinhVT5
已提問 9 個月前檢視次數 414 次
2 個答案
1

I think that CloudFront considers this as an invalid HTTP request because %D doesn't correspond to any URL encoded ASCII character.

profile pictureAWS
專家
achraf
已回答 9 個月前
-1

Hi,

If I understood you correctly, you are looking at how to customize error processing in CloudFront. Please take a look here - there are examples of how you can achieve what you want.

profile picture
專家
已回答 9 個月前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南