【问题标题】:Could I host static website using awscli s3 website command in IBM COS - S3 API?我可以在 IBM COS - S3 API 中使用 awscli s3 website 命令托管静态网站吗?
【发布时间】:2018-07-17 06:34:52
【问题描述】:
aws --endpoint-url=https://s3-api.us-geo.objectstorage.softlayer.net 
     s3 website s3://mytestbucket --index-document index.html
     --error-document error.html

调用PutBucketWebsite操作时出错(UnsupportedOperation):不支持请求的操作

【问题讨论】:

    标签: ibm-cloud-infrastructure object-storage ibm-cloud-storage


    【解决方案1】:

    S3 API 的 COS 实现目前不支持静态网站托管。 all S3 API operations supported by COS can be found in the 'API Overview' section of the documentation 的完整列表。

    【讨论】:

      猜你喜欢
      • 2021-07-16
      • 2014-05-13
      • 2022-01-08
      • 1970-01-01
      • 2012-07-27
      • 1970-01-01
      • 2019-09-03
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多