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 个月前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则