Bug #44123
rgw: ReplaceKeyPrefixWith and ReplaceKeyWith can not set at the same time and support some HttpErrorCodeReturnedEquals and HttpRedirectCode limit.
0%
Description
in
ReplaceKeyPrefixWith
The object key prefix to use in the redirect request. For example, to redirect requests for all pages with prefix docs/ (objects in the docs/ folder) to documents/, you can set a condition block with KeyPrefixEquals set to docs/ and in the Redirect set ReplaceKeyPrefixWith to /documents. Not required if one of the siblings is present. Can be present only if ReplaceKeyWith is not provided.
Type: String
Required: No
ReplaceKeyWith
The specific object key to use in the redirect request. For example, redirect request to error.html. Not required if one of the siblings is present. Can be present only if ReplaceKeyPrefixWith is not provided.
Type: String
Required: No
Related issues
History
#1 Updated by joke lee about 4 years ago
#2 Updated by J. Eric Ivancich about 4 years ago
- Status changed from New to Pending Backport
- Assignee set to joke lee
#3 Updated by Casey Bodley about 4 years ago
- Duplicated by Bug #43563: rgw: ReplaceKeyPrefixWith and ReplaceKeyWith can not set at the same time. added
#4 Updated by Nathan Cutler about 4 years ago
- Copied to Backport #44232: nautilus: rgw: ReplaceKeyPrefixWith and ReplaceKeyWith can not set at the same time and support some HttpErrorCodeReturnedEquals and HttpRedirectCode limit. added
#5 Updated by Nathan Cutler almost 4 years ago
- Status changed from Pending Backport to Resolved
While running with --resolve-parent, the script "backport-create-issue" noticed that all backports of this issue are in status "Resolved" or "Rejected".