1 Risposta
- Più recenti
- Maggior numero di voti
- Maggior numero di commenti
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/"
}
}
]
con risposta 2 anni fa
Contenuto pertinente
- AWS UFFICIALEAggiornata 2 anni fa
- AWS UFFICIALEAggiornata 6 mesi fa