You need to enable JavaScript to run this app.
文档中心
对象存储

对象存储

复制全文
下载 pdf
13-WEBSITE
0013-00000005
复制全文
下载 pdf
0013-00000005
问题描述​
静态网站配置非法。​
问题原因​
用户设置静态网站配置时,RedirectAllRequestsTo 配置项中 HostName 取值为空。​
问题示例​
您进行静态网站配置时,RedirectAllRequestsTo 配置项中 HostName 取值为空。​
​
PUT /?website HTTP/1.1​
Host: bucketname.tos-cn-beijing.volces.com​
Date: Fri, 30 Jul 2021 13:59:18 GMT​
Authorization: authorization xxx​
​
{​
"RedirectAllRequestsTo": {​
"Protocol": "http"​
}​
}​
​
解决方案​
参见 PutBucketWebsite,正确构造静态网站配置,确保 RedirectAllRequestsTo 配置项中 HostName 取值不为空。​
​
最近更新时间:2026.09.20 16:16:51
这个页面对您有帮助吗?
有用
有用
无用
无用