Created
June 17, 2020 09:39
-
-
Save velotiotech/eb493ae4142dfeaf5f30929cd82a844c to your computer and use it in GitHub Desktop.
XML for redirection rules for S3
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<RoutingRules> | |
<RoutingRule> | |
<Condition> | |
<HttpErrorCodeReturnedEquals>403</HttpErrorCodeReturnedEquals> | |
</Condition> | |
<Redirect> | |
<HostName>mywebsite.com</HostName> | |
<ReplaceKeyPrefixWith>notfound/</ReplaceKeyPrefixWith> | |
</Redirect> | |
</RoutingRule> | |
</RoutingRules> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment