Website Hosting Settings of a Bucket
Namespace
obs.WebsiteConfiguration
Parameter Description
| Field | Type | Optional or Mandatory | Description |
|---|---|---|---|
| redirectAllRequestTo | Optional when used as a request parameter | Redirection rule of all requests | |
| indexDocument | Optional when used as a request parameter | Default page configuration, which includes the Suffix field | |
| errorDocument | Optional when used as a request parameter | Error page configuration, which includes the Key field | |
| routingRules | list of RoutingRule | Optional when used as a request parameter | Redirection rule list |
- errorDocument, indexDocument, and routingRules must be used together and they cannot be used with redirectAllRequestsTo.
- When errorDocument, indexDocument, and routingRules are used together, routingRules can be None.
- You must set either these three fields or redirectAllRequestsTo.
Last Article: Response Result of the Request for Obtaining Lifecycle Rules of a Bucket
Next Article: Redirection Rule Applying to all Requests
Did this article solve your problem?
Thank you for your score!Your feedback would help us improve the website.