1回答
- 新しい順
- 投票が多い順
- コメントが多い順
0
Hello
I have created a test environment with the information reported, Here is the info that i have done.
- I have created index.html and two folders
abc/
,cde
andabc/bcd
- I have added the redirection rule example below
- As you can see it is a loop for cde/ goes to abc again abc have the redirection to implementing-test-page/test-page.html, I am able to redirect with success
Observations:
- Patience is required because after an update of the json file it is taking few min for the update
[
{
"Condition": {
"KeyPrefixEquals": "abc/bcd/"
},
"Redirect": {
"ReplaceKeyWith": "implementing-test-page/test-page.html"
}
},
{
"Condition": {
"KeyPrefixEquals": "abc/"
},
"Redirect": {
"ReplaceKeyWith": "implementing-test-page/test-page.html"
}
},
{
"Condition": {
"KeyPrefixEquals": "cde/"
},
"Redirect": {
"ReplaceKeyPrefixWith": "abc/"
}
}
]
回答済み 2年前
関連するコンテンツ
- AWS公式更新しました 2年前