Site.ini : Mixing Hostname & Uri

Author Message

H-Works Agency

Thursday 20 March 2008 2:13:32 pm

Hello everyone,

I use eZ in a multiple siteaccess setup.

The setup is based on hostname to match the siteaccess. "like : example.com=siteaccess1"

How can i keep this as the default selection method and still be able to use the "uri" method for some websites (with multi-language) ?

would be like this for those site :

default access : example.com=siteaccess_english
french access : example.com/fr=siteaccess_french
...etc

Is this setup possible or do i have to use hostname everytime like "fr.example.com=siteaccess_french"

This is a topic a lot of people need help :)

Bye

EZP is Great

Elena Ivanova

Friday 21 March 2008 12:57:49 am

Dear all,

I am also interested in this topic.

There are some threads describing issues with mixing host&uri. Some of them:

http://ez.no/developer/forum/setup_design/problem_with_mixed_matchorder_host_uri/re_problem_with_mixed_matchorder_host_uri
http://ez.no/developer/forum/install_configuration/siteaccesssettings_matchorder_s_combination/re_siteaccesssettings_matchorder_s_combination

Any solution?

Regards

 

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 01:15:27
Script start
Timing: Jan 31 2025 01:15:27
Module start 'layout'
Timing: Jan 31 2025 01:15:27
Module start 'content'
Timing: Jan 31 2025 01:15:27
Module end 'content'
Timing: Jan 31 2025 01:15:27
Script end

Main resources:

Total runtime0.0373 sec
Peak memory usage8,192.0000 KB
Database Queries3

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0081 588.1328151.2109
Module start 'layout' 0.00810.0054 739.3438220.6875
Module start 'content' 0.01350.0219 960.0313997.8047
Module end 'content' 0.03540.0018 1,957.835929.9922
Script end 0.0372  1,987.8281 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00349.0386140.0002
Check MTime0.00123.2746140.0001
Mysql Total
Database connection0.00102.648210.0010
Mysqli_queries0.003910.409730.0013
Looping result0.00000.062110.0000
Template Total0.00123.310.0012
Template load0.00102.614310.0010
Template processing0.00030.710810.0003
Override
Cache load0.00071.875910.0007
General
dbfile0.005414.392680.0007
String conversion0.00000.032640.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