You need to enable JavaScript to run this app.
Torch Object Storage

Torch Object Storage

Copy page
Download PDF
13-WEBSITE
0013-00000003
Copy page
Download PDF
0013-00000003
Problem description​
Static website configuration is invalid.​
Root cause​
When setting static website configuration, the RedirectAllRequestsTo field conflicts with the IndexDocument, ErrorDocument, and RoutingRules fields.​
Example​
If you include the RedirectAllRequestsTo field in your static website configuration, the IndexDocument field should not be present.​
​
PUT /?website HTTP/1.1​
Host: <Bucket name>.<TOS endpoint>​
Date: Fri, 30 Jul 2021 13:59:18 GMT​
Authorization: authorization xxx​
​
{​
"RedirectAllRequestsTo": {​
"HostName": "example.com",​
"Protocol": "https"​
},​
"IndexDocument": {​
"Suffix": "index.html"​
}​
}​
​
Solution ​
Refer to PutBucketWebsite for properly constructing static website configuration.​
Last updated: 2025.10.10 18:58:06