Skip to content

Instantly share code, notes, and snippets.

@mwkorver
Last active March 25, 2016 20:57
Show Gist options
  • Select an option

  • Save mwkorver/a9e7f038417e37ff4fb0 to your computer and use it in GitHub Desktop.

Select an option

Save mwkorver/a9e7f038417e37ff4fb0 to your computer and use it in GitHub Desktop.

Revisions

  1. mwkorver revised this gist Mar 25, 2016. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion s3redirect
    Original file line number Diff line number Diff line change
    @@ -4,7 +4,7 @@
    <HttpErrorCodeReturnedEquals>403</HttpErrorCodeReturnedEquals>
    </Condition>
    <Redirect>
    <HostName>[app name here].elasticbeanstalk.com</HostName>
    <HostName>maptilerworkshop.elasticbeanstalk.com</HostName>
    <ReplaceKeyPrefixWith>?tile=</ReplaceKeyPrefixWith>
    <HttpRedirectCode>303</HttpRedirectCode>
    </Redirect>
  2. mwkorver revised this gist Feb 10, 2016. 1 changed file with 2 additions and 1 deletion.
    3 changes: 2 additions & 1 deletion s3redirect
    Original file line number Diff line number Diff line change
    @@ -8,4 +8,5 @@
    <ReplaceKeyPrefixWith>?tile=</ReplaceKeyPrefixWith>
    <HttpRedirectCode>303</HttpRedirectCode>
    </Redirect>
    </RoutingRule>
    </RoutingRule>
    </RoutingRules>
  3. mwkorver created this gist Feb 9, 2016.
    11 changes: 11 additions & 0 deletions s3redirect
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,11 @@
    <RoutingRules>
    <RoutingRule>
    <Condition>
    <HttpErrorCodeReturnedEquals>403</HttpErrorCodeReturnedEquals>
    </Condition>
    <Redirect>
    <HostName>[app name here].elasticbeanstalk.com</HostName>
    <ReplaceKeyPrefixWith>?tile=</ReplaceKeyPrefixWith>
    <HttpRedirectCode>303</HttpRedirectCode>
    </Redirect>
    </RoutingRule>