siteaccess, multilingual and switching from one language to another

Author Message

Toni Ascó

Tuesday 20 April 2004 11:07:48 am

Hi there,

I have a multisite(8 sites), multilingual(3 languages each site) configuration, accessing each site using a different Host.
Each language of each site has its own siteaccess, but each site has only one design (shared by the 3 languages of the site).

Ok, now i have, for accessing each site, something like

HostMatchMapItems[]=firstsite.mysites.com;site0_es
HostMatchMapItems[]=secondsite.mysites.com;site1_es
.
.
.
HostMatchMapItems[]=eighthsite.mysites.com;site7_es
( as you see i start with 0 -- real men start counting at 0 ;) -- )

Well, the default is, as you see the site in spanish, but i want to switch languages too.
But when i try to enter to firstsite.mysites.com/site0_en i get an error (obvious i think as firstsite.mysites.com is "bounded" to hotel0_es). So the question is, can i get a mix beween accessing by host and accessing by uri?
I've read something like "put MatchOrder=host;uri" but doesn't wrok, i still get the same error ("module not found")...

Any idea?

Thanx in advance,

Toni

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 19 2025 07:27:38
Script start
Timing: Jan 19 2025 07:27:38
Module start 'layout'
Timing: Jan 19 2025 07:27:38
Module start 'content'
Timing: Jan 19 2025 07:27:38
Module end 'content'
Timing: Jan 19 2025 07:27:38
Script end

Main resources:

Total runtime0.0155 sec
Peak memory usage2,048.0000 KB
Database Queries3

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0054 589.6016152.6563
Module start 'layout' 0.00550.0032 742.257839.4922
Module start 'content' 0.00870.0048 781.750085.2891
Module end 'content' 0.01350.0020 867.039130.3047
Script end 0.0155  897.3438 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002717.1882140.0002
Check MTime0.00117.2717140.0001
Mysql Total
Database connection0.00085.261910.0008
Mysqli_queries0.002617.040630.0009
Looping result0.00000.116910.0000
Template Total0.001510.010.0015
Template load0.00085.217410.0008
Template processing0.00074.728410.0007
Override
Cache load0.00063.830410.0006
General
dbfile0.00032.080580.0000
String conversion0.00000.076940.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 1
 Number of unique templates used: 1

Time used to render debug report: 0.0001 secs