Click or drag to resize
DomainPolicy Class
Ensures domain policies like redirection to site alias, using of domain prefix etc.
Inheritance Hierarchy
SystemObject
  CMS.Routing.WebDomainPolicy

Namespace: CMS.Routing.Web
Assembly: CMS.Routing.Web (in CMS.Routing.Web.dll) Version: 10.0.0
Syntax
C#
public class DomainPolicy

The DomainPolicy type exposes the following members.

Constructors
  NameDescription
Public methodDomainPolicy
Top
Fields
  NameDescription
Public fieldStatic memberDOMAIN_PREFIX_NONE
Do not process domain prefix
Public fieldStatic memberDOMAIN_PREFIX_WITHOUTWWW
Never use www prefix for domains
Public fieldStatic memberDOMAIN_PREFIX_WWW
Always use www prefix for domains
Top
Properties
  NameDescription
Protected propertyStatic memberProviderObject
Provider object.
Public propertyStatic memberUseDomainRedirectForFiles
Indicates whether domain redirect should be used for file request (getattachment, getmediafile, getmetafile, etc)
Top
Methods
  NameDescription
Public methodStatic memberApply
Applies domain policy regarding given site.
Public methodStatic memberApplyForFiles
Applies domain policy for files regarding given site.
Top
See Also