QCloudWebsiteCondition Class Reference

Inherits from NSObject
Declared in QCloudWebsiteCondition.h
QCloudWebsiteCondition.m

Overview

指定重定向发生的条件,前缀匹配重定向和错误码重定向只能指定一个

  httpErrorCodeReturnedEquals

指定重定向错误码,只支持配置4XX返回码,优先级高于ErrorDocument

@property (assign, nonatomic) int httpErrorCodeReturnedEquals

Declared In

QCloudWebsiteCondition.h

  keyPrefixEquals

指定前缀重定向的路径,替换指定的folder

@property (strong, nonatomic) NSString *keyPrefixEquals

Declared In

QCloudWebsiteCondition.h