The URL pattern is the pattern used to match the request URL to this site definition. The value defined for this property is based on the scheme used by the application to encode sites into the URL. When attempting to identify a site from a request, this pattern is matched against the URL. For example, you might specify "/DiscoverCamera" for the Discover Camera site definition.
If you enter a domain as a value in the
urlPattern
property, follow these rules:
The first character in the domain cannot be a slash (/), for example,
example.com
is a valid domain.Domains do not include the schema, so pattern matching begins after the schema:
http://
orhttps://
.If you do not use a standard port, then a port number is required. The standard port for http is
80
; and the standard port for https is443
.
If you enter a URI as a value in the
urlPattern
property, the value matches the pattern
between the context path and the page's content URI of the incoming request.
URL values must follow these rules:
A domain pattern always has precedence over a URI pattern. For example, if you have two sites where Site A uses a domain pattern and Site B uses a URI pattern, Site A always displays if that domain pattern is entered in the address.