Skip to content

Instantly share code, notes, and snippets.

@aklinkert
Created November 13, 2016 17:02
Show Gist options
  • Select an option

  • Save aklinkert/bb3e5add6afd6c1e64a7ca2dd71a67f1 to your computer and use it in GitHub Desktop.

Select an option

Save aklinkert/bb3e5add6afd6c1e64a7ca2dd71a67f1 to your computer and use it in GitHub Desktop.

Revisions

  1. aklinkert created this gist Nov 13, 2016.
    9 changes: 9 additions & 0 deletions s3_redirect.xml
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,9 @@
    <RoutingRules>
    <RoutingRule>
    <Redirect>
    <Protocol>http</Protocol>
    <HostName>www.target.example.com</HostName>
    <HttpRedirectCode>301</HttpRedirectCode>
    </Redirect>
    </RoutingRule>
    </RoutingRules>