Choosing first by vhost and then by uri

Author Message

Toni Ascó

Thursday 22 April 2004 3:16:26 am

hi, as posted in a earlier thread, i'm having a problem for accessing the right site access
What i want to do exactly is:

having a vhost as
HostMatchMapItems[]=site1.sites.com;site1_en (default going to english)

then i want that if i write site1.sites.com/site1_sp it goes to spanish.

Seems easy (just putting MatchOrder=uri should work) but the problem is that i don't have only one vhost, but 8

And it has to work for the 8 sites... should be something like... chose first by the vhost, and for this vhost then look the uri to know which siteaccess you have to look at...

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 31 2025 11:45:42
Script start
Timing: Jan 31 2025 11:45:42
Module start 'layout'
Timing: Jan 31 2025 11:45:42
Module start 'content'
Timing: Jan 31 2025 11:45:42
Module end 'content'
Timing: Jan 31 2025 11:45:42
Script end

Main resources:

Total runtime0.0339 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.0062 588.2500151.2266
Module start 'layout' 0.00620.0033 739.476636.6797
Module start 'content' 0.00950.0223 776.156386.0469
Module end 'content' 0.03180.0020 862.203129.9922
Script end 0.0339  892.1953 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00319.1336140.0002
Check MTime0.00123.4507140.0001
Mysql Total
Database connection0.00072.100910.0007
Mysqli_queries0.00267.706530.0009
Looping result0.00000.041510.0000
Template Total0.00164.610.0016
Template load0.00123.471010.0012
Template processing0.00041.157910.0004
Override
Cache load0.00072.018710.0007
General
dbfile0.012336.146580.0015
String conversion0.00000.033040.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