-
-
Save surfjedi/7fdf4da41897dc7bc8e1773eeccc5c1e to your computer and use it in GitHub Desktop.
Amazon S3 redirection rule to send every "miss" (HTTP 404) to the domain root
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>404</HttpErrorCodeReturnedEquals> | |
</Condition> | |
<Redirect> | |
<HostName>danilop.net</HostName> | |
<ReplaceKeyWith/> | |
</Redirect> | |
</RoutingRule> | |
</RoutingRules> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment