| DomainPolicy Class |
Namespace: CMS.Routing.Web
public class DomainPolicy
The DomainPolicy type exposes the following members.
| Name | Description | |
|---|---|---|
| DomainPolicy |
| Name | Description | |
|---|---|---|
| DOMAIN_PREFIX_NONE |
Do not process domain prefix
| |
| DOMAIN_PREFIX_WITHOUTWWW |
Never use www prefix for domains
| |
| DOMAIN_PREFIX_WWW |
Always use www prefix for domains
|
| Name | Description | |
|---|---|---|
| ProviderObject |
Provider object.
| |
| UseDomainRedirectForFiles |
Indicates whether domain redirect should be used for file request (getattachment, getmediafile, getmetafile, etc)
|
| Name | Description | |
|---|---|---|
| Apply |
Applies domain policy regarding given site.
| |
| ApplyForFiles |
Applies domain policy for files regarding given site.
|