Forums / Install & configuration / mixing host and uri
SEBBANE Alexandre
Saturday 25 July 2009 3:20:52 pm
hello, Can we do this : 2 websites / 7 siteaccess
www.aa.com/fr which is the french version of the aa site with rootnode=300 www.aa.com/en which is the english version of the aa site with rootnode=300 www.bb.com/fr which is the french version of the bb site with rootnode=301 www.bb.com/en which is the english version of the bb site with rootnode=301 www.admin.aa.com/ which is the admin with rootnode=300 www.admin.bb.com/ which the admin with rootnode=301www.admin.cc.com/ which the admin global rootnode=2
where the node 2 is parent of 300 and 301
i know how to do configuration with the root node but i didnot manage to do with the directive :
MatchOrder HostMatchMapItems[]URIMatchMapItems[]
thanks for your help
Paris, France
André R.
Sunday 26 July 2009 5:56:53 am
It's not possible to have several siteaceeses with same name in uri, so one of them need to have a siteprefix, like bb.com/bb_en or something.
Theoretically it should be possible to work around that by having separate installations for the different domains that share db and var folder. Or maybe even do some magic in config.php.
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
Sunday 26 July 2009 10:58:51 am
ok i understand
if the siteaccess are not the same :
could you help me with the configuration if the directive host and uri ....
how did i do to make siteacces1 and siteaccess2 on different hostname ....
Sunday 26 July 2009 12:31:51 pm
Example where just domain gives you french site, and to get english site you add aa_eng or bb_eng to the url.
AvailableSiteAccessList[]=aa_fre AvailableSiteAccessList[]=aa_eng AvailableSiteAccessList[]=bb_fre AvailableSiteAccessList[]=bb_eng #The following setting needs 4.0.3 or higher to be able to work like this! MatchOrder=uri;host HostMatchMapItems[]=aa.com;aa_fre HostMatchMapItems[]=www.aa.com;aa_fre HostMatchMapItems[]=bb.com;bb_fre HostMatchMapItems[]=www.bb.com;bb_fre