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

Torch Object Storage

Copy page
Download PDF
11-MIRROR
0011-00000004
Copy page
Download PDF
0011-00000004
Problem description​
Invalid mirror origin configuration.​
Root cause​
When setting the bucket mirror origin rule, the Condition configuration for a rule has an HttpCode value that is not 404。​
Example​
When configuring bucket mirror origin, the HttpCode value in Condition is set to an invalid value 403.​
​
PUT /?mirror HTTP/1.1​
Host: <Bucket name>.<TOS endpoint>​
Date: Fri, 30 Jul 2021 13:59:18 GMT​
Authorization: authorization xxx​
​
{​
"Rules":[{​
"ID":"xxx",​
"Condition":{​
"HttpCode":403,​
"KeyPrefix":"prefix"​
},​
"Redirect":{​
"PublicSource":{​
"SourceEndpoint":{​
"Primary":["http://abc.123/"]​
}​
},​
"PassQuery":true,​
"FollowRedirect":true,​
"MirrorHeader":{"PassAll":true}​
}​
}]​
}​
​
Solution​
Ensure the HttpCode value in Condition is 404.​
Last updated: 2025.10.11 17:59:20