Closed cscairns closed 10 years ago
Right, but @cscairns is right about that - if I go to https://d37uca4in84hpc.cloudfront.net/asdfasdf, I get a CloudFront 403 page. However, I did try to configure this, CloudFront gives you the ability to specify a path for 404s, and this is what's in CloudFront now:
And the details:
The URL I specified, /404/
, does seem to work right: https://d37uca4in84hpc.cloudfront.net/404/
I think it's because the S3 bucket is returning a 403 and not a 404. So I'll configure a 403 to return a 404, and see if that works.
(You can also visit https://myra.treasury.gov/asdfasdf to try it out if you add 54.192.4.150 myra.treasury.gov
to your /etc/hosts
file.)
I updated the setting to treat 403's as 404's and to render /404
/, but it looks like it'll take at least a few minutes. I'll check back later.
We need to try this from the production site, I believe, right @konklone?