amazon web services - AWS S3 Website Hosting - Url Redirect Issue -


the below link mentions redirection of website hosted in s3 bucket.

https://docs.aws.amazon.com/amazons3/latest/dev/howdoiwebsiteconfiguration.html

i have url www.myurl.com. want below redirection

www.myurl.com www.myurl.com\page\mainpage www.myurl.com\page www.myurl.com\page\mainpage

question whether possible above redirection. have gone through documentation mentioned in above link not possible redirect.

according documentation, should able like:

<routingrules>  <routingrule>   <condition>    <keyprefixequals>/</keyprefixequals>   </condition>   <redirect>    <replacekeyprefixwith>/mainpage/</replacekeyprefixwith>   </redirect>  </routingrule>  <routingrule>   <condition>    <keyprefixequals>page/</keyprefixequals>   </condition>   <redirect>    <replacekeyprefixwith>/page/mainpage/</replacekeyprefixwith>   </redirect>  </routingrule> </routingrules> 

you paste xml in input provided on page.


Comments

Popular posts from this blog

java - Oracle EBS .ClassNotFoundException: oracle.apps.fnd.formsClient.FormsLauncher.class ERROR -

c# - how to use buttonedit in devexpress gridcontrol -

nvd3.js - angularjs-nvd3-directives setting color in legend as well as in chart elements -