|Posted: Wednesday Mar 27th, 2013 at 12:39 am #45844|
I’ve been trying to get S3/CloudFront working to stream RTMP without much luck…. At the end of this post http://www.s2member.com/forums/topic/download-links/page/2/ per Jason’s suggestion I tried to have s2member deactivate and reactive Cloudfront.
I even tried the policy change suggestion in this post per Jeremy Pigg. No luck. (Besides, I think that policy change simply makes everything in your bucket readable by the world… But I’m no expert on S3.)
So, I decided to start from scratch. Turned off CloudFront and turned off S3/CDN on s2member. Deleted Cloudfront distributions (which were marked disabled.)
Created a new bucket “iratest”. Put one file in it “copyright.png”.
First checked – put copyright.png in the file s2member-files directory. This URL works fine when logged in to WordPress http://www.DOMAINNAME.org/wordpress/?s2member_file_download=/copyright.png. File downloads okay.
Now taking it one step at a time, setup ONLY s2Member->Download Options-> Amazon S3/CDN Storage Option.
When I go to the URL that was working ( http://www.DOMAINNAME.org/wordpress/?s2member_file_download=/copyright.png) I get this URL
and this XML result
And for reference http://iratest.s3.amazonaws.com/copyright.png
If I change the permissions to Everyone to Open/Download & View, it works of course. But the link above trying to access via s2member/wordpress doesn’t.
What should we check or how do we determine where the problem is?
PS: For what it is worth using a mod_rewrite like this http://www.DOMAINNAME.org/wordpress//wp-content/plugins/s2member-files/copyright.png doesn’t change the result.
- s2Member® Products