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달 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠