is it possible to make same site under two addreses?

Author Message

Vytautas Germanavičius

Monday 18 April 2005 7:36:42 am

I need to make site accessible under two different addreses.
At the moment i see ony one way: to use same database, but different ez instalations to separate settings of siteaccesses and caches.

{set-block scope=root variable=cache_ttl}0{/set-block}

H-Works Agency

Tuesday 19 April 2005 9:38:08 am

Configure two siteaccess with same db, var and design.

That's how i'd do it.

Martin

EZP is Great

Luc Chase

Tuesday 19 April 2005 10:39:06 am

In settings/override/site.ini.append.php set
host mappings.
e.g.
[SiteAccessSettings]
HostMatchType=map
MatchOrder=host
HostMatchMapItems[]=domain01.com;siteAccess01
HostMatchMapItems[]=domain02.com;siteAccess01

The Web Application Service Provider

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 20 2025 03:20:34
Script start
Timing: Jan 20 2025 03:20:35
Module start 'layout'
Timing: Jan 20 2025 03:20:35
Module start 'content'
Timing: Jan 20 2025 03:20:36
Module end 'content'
Timing: Jan 20 2025 03:20:36
Script end

Main resources:

Total runtime1.4614 sec
Peak memory usage4,096.0000 KB
Database Queries59

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0068 589.4063152.6563
Module start 'layout' 0.00680.0034 742.062539.5078
Module start 'content' 0.01021.4495 781.5703570.1094
Module end 'content' 1.45970.0017 1,351.67978.1094
Script end 1.4613  1,359.7891 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00330.2238160.0002
Check MTime0.00130.0911160.0001
Mysql Total
Database connection0.00130.087610.0013
Mysqli_queries1.407696.3227590.0239
Looping result0.00070.0449570.0000
Template Total1.425297.520.7126
Template load0.00200.137520.0010
Template processing1.423297.384420.7116
Template load and register function0.00010.009010.0001
states
state_id_array0.00160.110010.0016
state_identifier_array0.00130.089220.0007
Override
Cache load0.00160.1085200.0001
Sytem overhead
Fetch class attribute can translate value0.00060.043930.0002
Fetch class attribute name0.00110.075450.0002
XML
Image XML parsing0.00350.240930.0012
class_abstraction
Instantiating content class attribute0.00000.000650.0000
General
dbfile0.00350.2370230.0002
String conversion0.00000.000840.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
2content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
3content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
2content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
3content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 12
 Number of unique templates used: 6

Time used to render debug report: 0.0002 secs