I get a 403 when requesting a JS file from CloudFront

Posted by Roland on Server Fault See other posts from Server Fault or by Roland
Published on 2012-11-03T16:10:10Z Indexed on 2012/11/03 17:05 UTC
Read the original article Hit count: 232

This is new to me so please excuse me if I have no idea what I'm talking about (: I'm trying to set up my own CDN with CloudFront and S3 through a subdomain by adding a CNAME to that subdomain to point to the CloudFront.

It seems like I get a 403 when trying to load the file, this is the original s3 link : https://s3.amazonaws.com/chaoscod3r_aws_cdn/libs/polyfills/json3_polyfill.js ; which seems to be working after setting the permission to everyone to open / download. But when trying to use the subdomain to request the file : http://cdn.chaoscod3r.com/libs/polyfills/json3_polyfill.js ; it seems like I get that 403.

Could anyone help me out with this one ?

© Server Fault or respective owner

Related posts about amazon-s3

Related posts about cname-record