rainforestapp / amazon-s3-redirects

Tiny web-app to help you make Amazon S3 redirects
http://quiet-cove-8872.herokuapp.com/
8 stars 2 forks source link

detect http:// or https:// in the redirect URL for off-domain redirects #1

Open philfreo opened 10 years ago

philfreo commented 10 years ago

so that it supports redirects to other websites

example

<RoutingRules>
  <RoutingRule>
    <Redirect>
      <Protocol>https</Protocol>
      <HostName>myaccount.signin.aws.amazon.com</HostName>
      <ReplaceKeyPrefixWith>console/</ReplaceKeyPrefixWith>
      <HttpRedirectCode>301</HttpRedirectCode>
    </Redirect>
  </RoutingRule>
</RoutingRules>
fredsterss commented 10 years ago

@philfreo we would love a PR :smile: :sailboat: