mixing host and uri

Author Message

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=301
www.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

SEBBANE Alexandre

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 ....

Paris, France

André R.

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

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

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.

eZ debug

Timing: Jan 18 2025 21:15:59
Script start
Timing: Jan 18 2025 21:15:59
Module start 'layout'
Timing: Jan 18 2025 21:15:59
Module start 'content'
Timing: Jan 18 2025 21:16:00
Module end 'content'
Timing: Jan 18 2025 21:16:00
Script end

Main resources:

Total runtime1.1213 sec
Peak memory usage4,096.0000 KB
Database Queries60

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0069 587.9141152.6250
Module start 'layout' 0.00690.0028 740.539139.4453
Module start 'content' 0.00971.1102 779.9844563.4141
Module end 'content' 1.11990.0014 1,343.398412.1719
Script end 1.1213  1,355.5703 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00320.2871160.0002
Check MTime0.00130.1153160.0001
Mysql Total
Database connection0.00130.111610.0013
Mysqli_queries1.061294.6355600.0177
Looping result0.00060.0530580.0000
Template Total1.086296.920.5431
Template load0.00190.169820.0010
Template processing1.084396.695920.5421
Template load and register function0.00010.008210.0001
states
state_id_array0.00090.082110.0009
state_identifier_array0.00080.075020.0004
Override
Cache load0.00160.1409350.0000
Sytem overhead
Fetch class attribute can translate value0.00080.069920.0004
Fetch class attribute name0.00100.087660.0002
XML
Image XML parsing0.00140.122520.0007
class_abstraction
Instantiating content class attribute0.00000.001680.0000
General
dbfile0.00270.2382230.0001
String conversion0.00000.000640.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1node/view/full.tplfull/forum_topic.tplextension/sevenx/design/simple/override/templates/full/forum_topic.tplEdit templateOverride template
4content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
4content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
4content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
7content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
1content/datatype/view/ezxmltags/literal.tpl<No override>extension/community/design/standard/templates/content/datatype/view/ezxmltags/literal.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 22
 Number of unique templates used: 7

Time used to render debug report: 0.0001 secs