Forums / Install & configuration / Multi site installation without inter site accessibility
Juan Asencio
Wednesday 19 May 2010 5:03:08 am
Hi everybody,
I have a multisite installation using the same database on ez 4.3 and I have 5 different siteaccess which should be independent from each other for the visitor.
But, if I write http://siteaccess1.com/siteaccess2 I am able to see the content of siteaccess2 on the design sitestyle of siteaccess1.
I don't want this to happen, how to restrict the access from one siteaccess into the other?
Cheers,
André R.
Wednesday 19 May 2010 11:59:16 am
Probably related to this: http://issues.ez.no/IssueView.php?Id=16831&
eZ Online Editor 5: http://projects.ez.no/ezoe || eZJSCore (Ajax): http://projects.ez.no/ezjscore || eZ Publish EE http://ez.no/eZPublish/eZ-Publish-Enterprise-Subscription @: http://twitter.com/andrerom
Paul Leclercq
Thursday 20 May 2010 3:04:47 am
Hello Juan,
Have you been using the following settings in your override site.ini:
[SiteAccessSettings] CheckValidity=false AvailableSiteAccessList[]=siteaccess1 AvailableSiteAccessList[]=siteaccess2 AvailableSiteAccessList[]=admin_siteaccess MatchOrder=host HostMatchMapItems[]= HostMatchMapItems[]=siteaccess1.com;siteaccess1 HostMatchMapItems[]=siteaccess2.com;siteaccess2HostMatchMapItems[]=admin_siteaccess.com;admin_siteaccess
The next step to setup multiple sites:
is to make sure that in the site.ini.append.php of each siteaccess you have the following settings:
[SiteSettings] RootNodeDepth=2 DefaultPage=/content/view/full/242 <- put here the node_id of the root of your siteaccessIndexPage=/content/view/full/242
[SiteAccessSettings]PathPrefix=siteaccess1 <- the name of the root folder you wish to remove from your url