Share contextRoot on multi Site environment (ATG Oracle Commerce 11.x)

ATG does support multisite out of the box, you need to set up your sites to make this happen, as you can see on CRS.



Once you have your sites set up there is an important configuration that needs to happen in order your application understand that the sites are gonna share contextRoot as it happens on a multi-site environment.
That can be set in a single component /atg/dynamo/service/VirtualContextRootService/, just enable this component and the multi site will works sharing the same contextRoot.
This is configured OOTB at CRS.

This can be found at Oracle Documentation at http://docs.oracle.com/cd/E52191_03/Platform.11-1/ATGPlatformProgGuide/html/s0906configuringvirtualcontextrootreq01.html

Similar for previous versions are documented at http://docs.oracle.com/cd/E36434_01/Platform.10-1-2/ATGMultisiteAdminGuide/html/s1303contextroots01.html 

Special Thanks to Adolgo who found this :)

Comments