After the SiteContextPipeline identifies a site, it checks the site configuration to determine whether the site is enabled and active:

Note: Although an enabled site can be inactive, a disabled sites is always inactive, regardless of its openDate and closingDate settings.

In the event that a site is disabled or inactive, other site properties can specify where to redirect requests. The following site properties determine whether a site is enabled or active, and how to redirect requests for disabled or inactive sites:

Property

Description

enabled

A Boolean property, specifies whether the site is enabled.

Default: false

siteDownURL

Specifies where to redirect requests when the site’s enabled property is set to false.

openDate

A Date property, specifies when the site starts accepting requests.

closingDate

A Date property, specifies when the site starts refusing requests.

preOpeningURL

Specifies where to redirect requests before its openDate setting.

postClosingURL

Specifies where to redirect requests after its closingDate setting.


Copyright © 1997, 2012 Oracle and/or its affiliates. All rights reserved.

Legal Notices