开发者社区> 问答> 正文

如何绑定通过CNAME绑定OSS?错误403.




我通过www#sinoapm#com的CNAME绑定到OSS的sinoapm#oss#aliyuncs#com。但是错误是HTTP 403.


This XML file does not appear to have any style information associated with it. The document tree is shown below.


<Error>

<Code>AccessDenied</Code>
<Message>Anonymous access is forbidden for this operation.</Message>
<RequestId>51340DF9F68778A569F40B29</RequestId>
</Error>


我是新手,请问我如何修改设置?


test#sinoapm#com的CNAME为oss#aliyuncs#com.
www#sinoapm#com的CNAME为sinoapm#oss#aliyuncs#com.


我想让用户访问www#sinoapm#com就能访问 sinoapm#oss#aliyuncs#com@index#html.


谢谢。




展开
收起
sinoapm 2013-03-04 11:20:55 14854 0
2 条回答
写回答
取消 提交回答
  • Re如何绑定通过CNAME绑定OSS?错误403.
    我想让用户直接通过域名www#sinoapm#com访问首页,而不像通过bucket(sinoapm)。况且用户也不知道@ bucket@index.html是什么东东。跟不知道www#sinoapm#com@ sinoapm@index.html这么长的URL了。

    我也ping我的域名了,IP到了OSS上了。

    -------------------------

    Re如何绑定通过CNAME绑定OSS?错误403.
    那样我必须买个cloud server了? 但是我只是static 的HTML JS。没有DB,有点浪费的。
    2013-03-04 14:27:46
    赞同 展开评论 打赏
  • 回 楼主(sinoapm) 的帖子
    http://help.aliyun.com/origin?spm=0.0.0.0.fuu6lM&helpId=1053

    参考这个啊。亲

    -------------------------

    回 2楼(sinoapm) 的帖子
    这个是不行的。

    必须带bucket

    而且oss只是个存储。不能当网站用啊。。。
    2013-03-04 13:54:35
    赞同 展开评论 打赏
问答排行榜
最热
最新

相关电子书

更多
OSS运维进阶实战手册 立即下载
《OSS运维基础实战手册》 立即下载
OSS运维基础实战手册 立即下载