The Oracle Commerce Platform’s multisite URL management system ensures that an Oracle Commerce Platform server can associate a request with the correct site. The system can handle a wide variety of URLs for production, staging, and preview servers.
Additionally, the Oracle Commerce Platform supports Internationalized Domain Names (IDN) and virtual context roots that contain domain path information.
On receiving a request, an Oracle Commerce Platform server relies on the globally scoped Nucleus component /atg/multisite/SiteURLManager
to map the request URL to a site. The SiteURLManager
manages this task as follows:
Collects from the site repository the URLs for all registered sites.
Optionally, generates URLs according to the URL transformation rules that are configured for that
SiteURLManager
.Maps all URLs to site IDs and vice versa.
About SiteURLManager
The component /atg/multisite/SiteURLManager
is an instance of the class atg.multisite.SiteURLManager
. A SiteURLManager
is registered with the component /atg/epub/DeploymentAgent
.