Redirected URLs in 'dev.folio.org' go to the origin S3 bucket rather than the CloudFront URL

Description

With the recent commits to , `dev.folio.org/community/cla-process/` is redirecting to `devdocwebsite-websitemasterbucket-19z4dx2nejmtu.s3-website-us-east-1.amazonaws.com/guidelines/cla-process/` rather than `dev.folio.org/guidelines/cla-process`. The `s3-website-config.json` file has this stanza:

CSP Request Details

None

CSP Rejection Details

None

Potential Workaround

None

Checklist

hide

TestRail: Results

Activity

Show:

David CrossleyJanuary 11, 2019 at 2:40 AM

Closed as Done, as there is no Jira resolution for "Disappointed".

Peter MurrayApril 4, 2018 at 1:51 PM
Edited

According to AWS, this is working as designed (emphasis added):

If you change the location of an object on the origin server, you can configure your web server to redirect requests to the new location. After you configure the redirect, the first time a viewer submits a request for the object, CloudFront Front sends the request to the origin, and the origin responds with a redirect (for example, 302 Moved Temporarily). CloudFront caches the redirect and returns it to the viewer. CloudFront does not follow the redirect.

Done

Details

Assignee

Reporter

Labels

Priority

TestRail: Cases

Open TestRail: Cases

TestRail: Runs

Open TestRail: Runs

Created April 4, 2018 at 1:48 PM
Updated January 11, 2019 at 2:40 AM
Resolved January 11, 2019 at 2:40 AM
TestRail: Cases
TestRail: Runs