Writing Flash crossdomain.xml for Amazon S3

后端 未结 3 1964
醉梦人生
醉梦人生 2021-01-16 00:26

I have two servers. Server A is an internal server that has access from the outside world set up here in my office. It has a Rails server running on it. I have a second serv

3条回答
  •  渐次进展
    2021-01-16 01:21

    Make sure the mime type of crossdomain.xml is set to application/xml. Flash will not load the policy file if the mime type isn't set correctly. Checkout CloudBerry's free s3 client, it's pretty good at detecting/setting the correct mimetype, its possible the s3 client you're using didn't set it correctly.

    Edit: Apache, and other webservers, detect a file's mime type and return it in the response headers - so this issue doesn't normally come up in local testing

提交回复
热议问题