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

Torch Object Storage

Copy page
Download PDF
13-WEBSITE
0013-00000008
Copy page
Download PDF
0013-00000008
Problem description​
Static website configuration is invalid.​
Root cause​
The user set more than 50 redirect rules when configuring the static website.​
Example​
You set the static website configuration with a RoutingRules array length exceeding 50.​
​
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",​
"ForbiddenSubDir": "false"​
},​
"ErrorDocument": {​
"Key": "error.html"​
},​
"RoutingRules": [...51 redirect rules omitted here...]​
}​
​
Solution ​
Refer to PutBucketWebsite to properly construct the static website configuration and ensure the number of redirect rules does not exceed 50.​
Last updated: 2025.10.10 18:58:06