amazon s3 - S3 static hosting AccessDenied -


i have problem. created s3 bucket hosting. in properties settings, used static website hosting , index.html index document. in bucket policy use :

{ "version": "2012-10-17", "statement": [     {         "sid": "publicreadforgetbucketobjects",         "effect": "allow",         "principal": "*",         "action": "s3:getobject",         "resource": "arn:aws:s3:::mybucket.com/*"     } ] 

}

when try open website browser url mybucket.com error accessdenied. when use mybucket.com/index.html works.

what need change automatically uses index.html index file?

thanks,

syd


Comments

Popular posts from this blog

ubuntu - PHP script to find files of certain extensions in a directory, returns populated array when run in browser, but empty array when run from terminal -

php - How can i create a user dashboard -

javascript - How to detect toggling of the fullscreen-toolbar in jQuery Mobile? -